# Copyright (C) 2014-2025  CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#

from salome.shaper import model

model.begin()
partSet = model.moduleDocument()
Part_1 = model.addPart(partSet)
Part_1.result().setColor(255, 85, 0)
Part_1_doc = Part_1.document()
Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
SketchLine_1 = Sketch_1.addLine(0, 0, 60, 0)
SketchPoint_1 = Sketch_1.addPoint(model.selection("VERTEX", "PartSet/Origin"))
SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchPoint_1.result())
SketchLine_2 = Sketch_1.addLine(60, 0, 60, 1.5)
SketchLine_2.setName("SketchLine_3")
SketchLine_2.result().setName("SketchLine_3")
SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.startPoint())
SketchConstraintCoincidence_2.setName("SketchConstraintCoincidence_3")
SketchLine_3 = Sketch_1.addLine(60, 1.5, 57, 1.5)
SketchLine_3.setName("SketchLine_4")
SketchLine_3.result().setName("SketchLine_4")
SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.startPoint())
SketchConstraintCoincidence_3.setName("SketchConstraintCoincidence_4")
SketchLine_4 = Sketch_1.addLine(57, 1.5, 29, 7.5)
SketchLine_4.setName("SketchLine_5")
SketchLine_4.result().setName("SketchLine_5")
SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_4.startPoint())
SketchConstraintCoincidence_4.setName("SketchConstraintCoincidence_5")
SketchLine_5 = Sketch_1.addLine(28, 7.5, 28, 8)
SketchLine_5.setName("SketchLine_7")
SketchLine_5.result().setName("SketchLine_7")
SketchArc_1 = Sketch_1.addArc(25.00007393928819, 7.9789374678129, 28, 8, 22.00014787857639, 8, False)
SketchLine_6 = Sketch_1.addLine(22.00014787857639, 8, 22.00014787857639, 7.5)
SketchLine_6.setName("SketchLine_8")
SketchLine_6.result().setName("SketchLine_8")
SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_6.startPoint())
SketchConstraintCoincidence_5.setName("SketchConstraintCoincidence_8")
SketchLine_7 = Sketch_1.addLine(22.00014787857639, 7.5, 21.00014787857639, 7.5)
SketchLine_7.setName("SketchLine_9")
SketchLine_7.result().setName("SketchLine_9")
SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_7.startPoint())
SketchConstraintCoincidence_6.setName("SketchConstraintCoincidence_9")
SketchLine_8 = Sketch_1.addLine(0, 0, 0, 3.5)
SketchLine_8.setName("SketchLine_10")
SketchLine_8.result().setName("SketchLine_10")
SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_8.startPoint())
SketchConstraintCoincidence_7.setName("SketchConstraintCoincidence_10")
SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchLine_8.startPoint())
SketchConstraintCoincidence_8.setName("SketchConstraintCoincidence_11")
SketchLine_9 = Sketch_1.addLine(0, 3.5, 8, 5)
SketchLine_9.setName("SketchLine_11")
SketchLine_9.result().setName("SketchLine_11")
SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_9.startPoint())
SketchConstraintCoincidence_9.setName("SketchConstraintCoincidence_13")
SketchLine_10 = Sketch_1.addLine(8, 5, 10.426976887961, 4.40018070612629)
SketchLine_10.setName("SketchLine_12")
SketchLine_10.result().setName("SketchLine_12")
SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_9.endPoint(), SketchLine_10.startPoint())
SketchConstraintCoincidence_10.setName("SketchConstraintCoincidence_14")
SketchConstraintLength_1 = Sketch_1.setLength(SketchLine_1.result(), 60)
SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_1.result())
SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_2.result())
SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_3.result())
SketchConstraintHorizontal_3 = Sketch_1.setHorizontal(SketchLine_7.result())
SketchConstraintHorizontal_3.setName("SketchConstraintHorizontal_4")
SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_5.result())
SketchConstraintVertical_3 = Sketch_1.setVertical(SketchLine_6.result())
SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchArc_1.startPoint())
SketchConstraintCoincidence_11.setName("SketchConstraintCoincidence_15")
SketchConstraintVertical_4 = Sketch_1.setVertical(SketchLine_8.result())
SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_8.endPoint(), SketchLine_1.result(), 3.5, False)
SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_8.result(), 8, False)
SketchConstraintLength_2 = Sketch_1.setLength(SketchLine_10.result(), 2.5)
SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], 3)
SketchConstraintLength_3 = Sketch_1.setLength(SketchLine_6.result(), 0.5)
SketchConstraintLength_4 = Sketch_1.setLength(SketchLine_7.result(), 1)
SketchConstraintLength_5 = Sketch_1.setLength(SketchLine_5.result(), 0.5)
SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_1.result(), 7.5, False)
SketchConstraintLength_6 = Sketch_1.setLength(SketchLine_3.result(), 3)
SketchConstraintLength_6.setName("SketchConstraintLength_7")
SketchConstraintLength_7 = Sketch_1.setLength(SketchLine_2.result(), 1.5)
SketchConstraintLength_7.setName("SketchConstraintLength_8")
SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_1.result(), 5, False)
SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_1.result(), 7.5, False)
SketchLine_11 = Sketch_1.addLine(12.81710695710752, 0, 12.81710695710752, 7.765286531476907)
SketchLine_11.setName("SketchLine_13")
SketchLine_11.result().setName("SketchLine_13")
SketchLine_11.setAuxiliary(True)
SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchLine_11.startPoint(), SketchLine_1.result())
SketchConstraintCoincidence_12.setName("SketchConstraintCoincidence_16")
SketchConstraintVertical_5 = Sketch_1.setVertical(SketchLine_11.result())
SketchPoint_2 = Sketch_1.addPoint(12.81710695710752, 3)
SketchPoint_2.setAuxiliary(True)
SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchLine_11.result())
SketchConstraintCoincidence_13.setName("SketchConstraintCoincidence_17")
SketchConstraintDistance_6 = Sketch_1.setDistance(SketchPoint_2.coordinates(), SketchLine_1.result(), 3, False)
SketchLine_12 = Sketch_1.addLine(28, 7.5, 29, 7.5)
SketchLine_12.setName("SketchLine_14")
SketchLine_12.result().setName("SketchLine_14")
SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_12.startPoint())
SketchConstraintCoincidence_14.setName("SketchConstraintCoincidence_18")
SketchConstraintCoincidence_15 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_12.endPoint())
SketchConstraintCoincidence_15.setName("SketchConstraintCoincidence_19")
SketchConstraintLength_8 = Sketch_1.setLength(SketchLine_12.result(), 1)
SketchConstraintLength_8.setName("SketchConstraintLength_9")
SketchArc_2 = Sketch_1.addArc(14.78851987160339, 9.105317068618911, 10.426976887961, 4.40018070612629, 21.00014787857639, 7.5, False)
SketchConstraintCoincidence_16 = Sketch_1.setCoincident(SketchLine_10.endPoint(), SketchArc_2.startPoint())
SketchConstraintCoincidence_16.setName("SketchConstraintCoincidence_20")
SketchConstraintCoincidence_17 = Sketch_1.setCoincident(SketchLine_7.endPoint(), SketchArc_2.endPoint())
SketchConstraintCoincidence_17.setName("SketchConstraintCoincidence_21")
SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchArc_2.results()[1])
SketchConstraintCoincidence_18.setName("SketchConstraintCoincidence_22")
SketchConstraintHorizontal_4 = Sketch_1.setHorizontal(SketchLine_12.result())
SketchConstraintHorizontal_4.setName("SketchConstraintHorizontal_9")
SketchConstraintDistance_7 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_2.result(), 32, False)
SketchConstraintDistance_7.setName("SketchConstraintDistance_9")
model.do()
Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/Face-SketchLine_1r-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_14r-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchArc_2_2r-SketchLine_12r-SketchLine_11r-SketchLine_10r_wire")], model.selection(), 12, 0)
Sketch_2 = model.addSketch(Part_1_doc, model.standardPlane("XOZ"))
SketchArc_3 = Sketch_2.addArc(54, 6, 54, 12, 54, 0, True)
SketchLine_13 = Sketch_2.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_1][Extrusion_1_1/To_Face]"))
SketchLine_13.setName("SketchLine_15")
SketchLine_13.result().setName("SketchLine_15")
SketchConstraintCoincidence_19 = Sketch_2.setCoincident(SketchArc_3.startPoint(), SketchLine_13.result())
SketchConstraintCoincidence_19.setName("SketchConstraintCoincidence_23")
SketchLine_14 = Sketch_2.addLine(model.selection("EDGE", "Sketch_1/SketchLine_1"))
SketchLine_14.setName("SketchLine_16")
SketchLine_14.result().setName("SketchLine_16")
SketchConstraintCoincidence_20 = Sketch_2.setCoincident(SketchArc_3.endPoint(), SketchLine_14.result())
SketchConstraintCoincidence_20.setName("SketchConstraintCoincidence_24")
SketchLine_15 = Sketch_2.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_1][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_3]"))
SketchLine_15.setName("SketchLine_17")
SketchLine_15.result().setName("SketchLine_17")
SketchConstraintTangent_1 = Sketch_2.setTangent(SketchArc_3.results()[1], SketchLine_15.result())
SketchConstraintDistance_8 = Sketch_2.setDistance(SketchArc_3.startPoint(), SketchLine_15.result(), 6, False)
SketchConstraintDistance_8.setName("SketchConstraintDistance_7")
SketchLine_16 = Sketch_2.addLine(54, 12, 53.10174978726379, 13.92603605930655)
SketchLine_16.setName("SketchLine_18")
SketchLine_16.result().setName("SketchLine_18")
SketchConstraintCoincidence_21 = Sketch_2.setCoincident(SketchArc_3.startPoint(), SketchLine_16.startPoint())
SketchConstraintCoincidence_21.setName("SketchConstraintCoincidence_25")
SketchLine_17 = Sketch_2.addLine(53.10174978726379, 13.92603605930655, 63.82610057919769, 13.82486293862793)
SketchLine_17.setName("SketchLine_19")
SketchLine_17.result().setName("SketchLine_19")
SketchConstraintCoincidence_22 = Sketch_2.setCoincident(SketchLine_16.endPoint(), SketchLine_17.startPoint())
SketchConstraintCoincidence_22.setName("SketchConstraintCoincidence_26")
SketchLine_18 = Sketch_2.addLine(63.82610057919769, 13.82486293862793, 62.66260969139353, -3.07104821470189)
SketchLine_18.setName("SketchLine_20")
SketchLine_18.result().setName("SketchLine_20")
SketchConstraintCoincidence_23 = Sketch_2.setCoincident(SketchLine_17.endPoint(), SketchLine_18.startPoint())
SketchConstraintCoincidence_23.setName("SketchConstraintCoincidence_27")
SketchLine_19 = Sketch_2.addLine(62.66260969139353, -3.07104821470189, 53.10174978726379, -2.868701973344648)
SketchLine_19.setName("SketchLine_21")
SketchLine_19.result().setName("SketchLine_21")
SketchConstraintCoincidence_24 = Sketch_2.setCoincident(SketchLine_18.endPoint(), SketchLine_19.startPoint())
SketchConstraintCoincidence_24.setName("SketchConstraintCoincidence_28")
SketchLine_20 = Sketch_2.addLine(53.10174978726379, -2.868701973344648, 54, 0)
SketchLine_20.setName("SketchLine_22")
SketchLine_20.result().setName("SketchLine_22")
SketchConstraintCoincidence_25 = Sketch_2.setCoincident(SketchLine_19.endPoint(), SketchLine_20.startPoint())
SketchConstraintCoincidence_25.setName("SketchConstraintCoincidence_29")
SketchConstraintCoincidence_26 = Sketch_2.setCoincident(SketchArc_3.endPoint(), SketchLine_20.endPoint())
SketchConstraintCoincidence_26.setName("SketchConstraintCoincidence_30")
model.do()
ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchLine_22r-SketchLine_21r-SketchLine_20r-SketchLine_19r-SketchLine_18r-SketchArc_3_2r")], model.selection(), 7, 15, [model.selection("SOLID", "Extrusion_1_1")])
Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14"))
SketchLine_21 = Sketch_3.addLine(28, -6, -4.270492394552598, -6)
SketchLine_21.setName("SketchLine_23")
SketchLine_21.result().setName("SketchLine_23")
SketchLine_21.setAuxiliary(True)
SketchLine_22 = Sketch_3.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_7][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14]"))
SketchLine_22.setName("SketchLine_24")
SketchLine_22.result().setName("SketchLine_24")
SketchConstraintCoincidence_27 = Sketch_3.setCoincident(SketchLine_21.startPoint(), SketchLine_22.result())
SketchConstraintCoincidence_27.setName("SketchConstraintCoincidence_31")
SketchConstraintHorizontal_5 = Sketch_3.setHorizontal(SketchLine_21.result())
SketchLine_23 = Sketch_3.addLine(28, -6, 63.78468475453244, -6)
SketchLine_23.setName("SketchLine_25")
SketchLine_23.result().setName("SketchLine_25")
SketchLine_23.setAuxiliary(True)
SketchConstraintCoincidence_28 = Sketch_3.setCoincident(SketchLine_21.startPoint(), SketchLine_23.startPoint())
SketchConstraintCoincidence_28.setName("SketchConstraintCoincidence_32")
SketchConstraintHorizontal_6 = Sketch_3.setHorizontal(SketchLine_23.result())
SketchLine_24 = Sketch_3.addLine(60, -1.5, 29, -1.5)
SketchLine_24.setName("SketchLine_26")
SketchLine_24.result().setName("SketchLine_26")
SketchLine_25 = Sketch_3.addLine(29, -1.5, 29, -10.5)
SketchLine_25.setName("SketchLine_27")
SketchLine_25.result().setName("SketchLine_27")
SketchLine_26 = Sketch_3.addLine(29, -10.5, 60, -10.5)
SketchLine_26.setName("SketchLine_28")
SketchLine_26.result().setName("SketchLine_28")
SketchLine_27 = Sketch_3.addLine(60, -10.5, 60, -1.5)
SketchLine_27.setName("SketchLine_29")
SketchLine_27.result().setName("SketchLine_29")
SketchConstraintCoincidence_29 = Sketch_3.setCoincident(SketchLine_27.endPoint(), SketchLine_24.startPoint())
SketchConstraintCoincidence_29.setName("SketchConstraintCoincidence_33")
SketchConstraintCoincidence_30 = Sketch_3.setCoincident(SketchLine_24.endPoint(), SketchLine_25.startPoint())
SketchConstraintCoincidence_30.setName("SketchConstraintCoincidence_34")
SketchConstraintCoincidence_31 = Sketch_3.setCoincident(SketchLine_25.endPoint(), SketchLine_26.startPoint())
SketchConstraintCoincidence_31.setName("SketchConstraintCoincidence_35")
SketchConstraintCoincidence_32 = Sketch_3.setCoincident(SketchLine_26.endPoint(), SketchLine_27.startPoint())
SketchConstraintCoincidence_32.setName("SketchConstraintCoincidence_36")
SketchConstraintHorizontal_7 = Sketch_3.setHorizontal(SketchLine_24.result())
SketchConstraintVertical_6 = Sketch_3.setVertical(SketchLine_25.result())
SketchConstraintHorizontal_8 = Sketch_3.setHorizontal(SketchLine_26.result())
SketchConstraintVertical_7 = Sketch_3.setVertical(SketchLine_27.result())
SketchLine_28 = Sketch_3.addLine(29, -10.5, 60, -1.5)
SketchLine_28.setName("SketchLine_30")
SketchLine_28.result().setName("SketchLine_30")
SketchLine_28.setAuxiliary(True)
SketchConstraintCoincidence_33 = Sketch_3.setCoincident(SketchLine_25.endPoint(), SketchLine_28.startPoint())
SketchConstraintCoincidence_33.setName("SketchConstraintCoincidence_37")
SketchConstraintCoincidence_34 = Sketch_3.setCoincident(SketchLine_26.startPoint(), SketchLine_28.startPoint())
SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_38")
SketchConstraintCoincidence_35 = Sketch_3.setCoincident(SketchLine_24.startPoint(), SketchLine_28.endPoint())
SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_39")
SketchConstraintCoincidence_36 = Sketch_3.setCoincident(SketchLine_27.endPoint(), SketchLine_28.endPoint())
SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_40")
SketchLine_29 = Sketch_3.addLine(29, -1.5, 60, -10.5)
SketchLine_29.setName("SketchLine_31")
SketchLine_29.result().setName("SketchLine_31")
SketchLine_29.setAuxiliary(True)
SketchConstraintCoincidence_37 = Sketch_3.setCoincident(SketchLine_24.endPoint(), SketchLine_29.startPoint())
SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_41")
SketchConstraintCoincidence_38 = Sketch_3.setCoincident(SketchLine_25.startPoint(), SketchLine_29.startPoint())
SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_42")
SketchConstraintCoincidence_39 = Sketch_3.setCoincident(SketchLine_26.endPoint(), SketchLine_29.endPoint())
SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_43")
SketchConstraintCoincidence_40 = Sketch_3.setCoincident(SketchLine_27.startPoint(), SketchLine_29.endPoint())
SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_44")
SketchPoint_3 = Sketch_3.addPoint(44.5, -6)
SketchPoint_3.setAuxiliary(True)
SketchConstraintCoincidence_41 = Sketch_3.setCoincident(SketchPoint_3.coordinates(), SketchLine_29.result())
SketchConstraintCoincidence_41.setName("SketchConstraintCoincidence_45")
SketchConstraintMiddle_1 = Sketch_3.setMiddlePoint(SketchPoint_3.coordinates(), SketchLine_29.result())
SketchConstraintCoincidence_42 = Sketch_3.setCoincident(SketchPoint_3.coordinates(), SketchLine_23.result())
SketchConstraintCoincidence_42.setName("SketchConstraintCoincidence_46")
SketchConstraintDistance_9 = Sketch_3.setDistance(SketchLine_22.startPoint(), SketchLine_23.result(), 6, False)
SketchConstraintDistance_9.setName("SketchConstraintDistance_8")
SketchConstraintLength_9 = Sketch_3.setLength(SketchLine_27.result(), 9)
SketchConstraintLength_9.setName("SketchConstraintLength_10")
SketchLine_30 = Sketch_3.addLine(21.00014787857639, -1.499999999999981, 12.00014787857639, -1.499999999999981)
SketchLine_30.setName("SketchLine_32")
SketchLine_30.result().setName("SketchLine_32")
SketchLine_31 = Sketch_3.addLine(12.00014787857639, -1.499999999999981, 12.00014787857639, -10.49999999999998)
SketchLine_31.setName("SketchLine_33")
SketchLine_31.result().setName("SketchLine_33")
SketchLine_32 = Sketch_3.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -10.49999999999998)
SketchLine_32.setName("SketchLine_34")
SketchLine_32.result().setName("SketchLine_34")
SketchLine_33 = Sketch_3.addLine(21.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981)
SketchLine_33.setName("SketchLine_35")
SketchLine_33.result().setName("SketchLine_35")
SketchConstraintCoincidence_43 = Sketch_3.setCoincident(SketchLine_33.endPoint(), SketchLine_30.startPoint())
SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_47")
SketchConstraintCoincidence_44 = Sketch_3.setCoincident(SketchLine_30.endPoint(), SketchLine_31.startPoint())
SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_48")
SketchConstraintCoincidence_45 = Sketch_3.setCoincident(SketchLine_31.endPoint(), SketchLine_32.startPoint())
SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_49")
SketchConstraintCoincidence_46 = Sketch_3.setCoincident(SketchLine_32.endPoint(), SketchLine_33.startPoint())
SketchConstraintCoincidence_46.setName("SketchConstraintCoincidence_50")
SketchConstraintHorizontal_9 = Sketch_3.setHorizontal(SketchLine_30.result())
SketchConstraintHorizontal_9.setName("SketchConstraintHorizontal_10")
SketchConstraintVertical_8 = Sketch_3.setVertical(SketchLine_31.result())
SketchConstraintHorizontal_10 = Sketch_3.setHorizontal(SketchLine_32.result())
SketchConstraintHorizontal_10.setName("SketchConstraintHorizontal_11")
SketchConstraintVertical_9 = Sketch_3.setVertical(SketchLine_33.result())
SketchConstraintEqual_1 = Sketch_3.setEqual(SketchLine_25.result(), SketchLine_33.result())
SketchLine_34 = Sketch_3.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981)
SketchLine_34.setName("SketchLine_36")
SketchLine_34.result().setName("SketchLine_36")
SketchLine_34.setAuxiliary(True)
SketchConstraintCoincidence_47 = Sketch_3.setCoincident(SketchLine_31.endPoint(), SketchLine_34.startPoint())
SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_51")
SketchConstraintCoincidence_48 = Sketch_3.setCoincident(SketchLine_32.startPoint(), SketchLine_34.startPoint())
SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_52")
SketchConstraintCoincidence_49 = Sketch_3.setCoincident(SketchLine_30.startPoint(), SketchLine_34.endPoint())
SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_53")
SketchConstraintCoincidence_50 = Sketch_3.setCoincident(SketchLine_33.endPoint(), SketchLine_34.endPoint())
SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_54")
SketchPoint_4 = Sketch_3.addPoint(16.50014787857639, -6)
SketchPoint_4.setAuxiliary(True)
SketchConstraintCoincidence_51 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_34.result())
SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_55")
SketchConstraintMiddle_2 = Sketch_3.setMiddlePoint(SketchLine_34.result(), SketchPoint_4.coordinates())
SketchConstraintCoincidence_52 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_21.result())
SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_56")
SketchLine_35 = Sketch_3.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14][ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_5]"))
SketchLine_35.setName("SketchLine_37")
SketchLine_35.result().setName("SketchLine_37")
SketchConstraintCoincidence_53 = Sketch_3.setCoincident(SketchLine_25.startPoint(), SketchLine_35.result())
SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_57")
SketchConstraintLength_10 = Sketch_3.setLength(SketchLine_24.result(), 31)
SketchConstraintLength_10.setName("SketchConstraintLength_11")
SketchLine_36 = Sketch_3.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchArc_2_2][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_9]"))
SketchLine_36.setName("SketchLine_38")
SketchLine_36.result().setName("SketchLine_38")
SketchConstraintCoincidence_54 = Sketch_3.setCoincident(SketchLine_30.startPoint(), SketchLine_36.result())
SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_58")
SketchConstraintEqual_2 = Sketch_3.setEqual(SketchLine_30.result(), SketchLine_25.result())
model.do()
ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_3/Face-SketchLine_32f-SketchLine_33f-SketchLine_34f-SketchLine_35f"), model.selection("FACE", "Sketch_3/Face-SketchLine_26f-SketchLine_27f-SketchLine_28f-SketchLine_29f")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_4"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_1_1")])
Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchLine_37 = Sketch_4.addLine(0.4324637622511017, 3.581086955422081, 1.55585595716119, 2.812450190483599)
SketchLine_37.setName("SketchLine_39")
SketchLine_37.result().setName("SketchLine_39")
SketchLine_38 = Sketch_4.addLine(model.selection("EDGE", "[ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_11]"))
SketchLine_38.setName("SketchLine_40")
SketchLine_38.result().setName("SketchLine_40")
SketchConstraintCoincidence_55 = Sketch_4.setCoincident(SketchLine_37.startPoint(), SketchLine_38.result())
SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_59")
SketchLine_39 = Sketch_4.addLine(1.55585595716119, 2.812450190483599, 2.324492722099671, 3.935842385393688)
SketchLine_39.setName("SketchLine_41")
SketchLine_39.result().setName("SketchLine_41")
SketchConstraintCoincidence_56 = Sketch_4.setCoincident(SketchLine_37.endPoint(), SketchLine_39.startPoint())
SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_60")
SketchConstraintCoincidence_57 = Sketch_4.setCoincident(SketchLine_39.endPoint(), SketchLine_38.result())
SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_61")
SketchLine_40 = Sketch_4.addLine(2.324492722099671, 3.935842385393688, 0.4324637622511017, 3.581086955422081)
SketchLine_40.setName("SketchLine_42")
SketchLine_40.result().setName("SketchLine_42")
SketchConstraintCoincidence_58 = Sketch_4.setCoincident(SketchLine_39.endPoint(), SketchLine_40.startPoint())
SketchConstraintCoincidence_58.setName("SketchConstraintCoincidence_62")
SketchConstraintCoincidence_59 = Sketch_4.setCoincident(SketchLine_37.startPoint(), SketchLine_40.endPoint())
SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_63")
SketchConstraintLength_11 = Sketch_4.setLength(SketchLine_40.result(), 1.925)
SketchConstraintLength_11.setName("SketchConstraintLength_12")
SketchConstraintEqual_3 = Sketch_4.setEqual(SketchLine_37.result(), SketchLine_39.result())
SketchConstraintPerpendicular_1 = Sketch_4.setPerpendicular(SketchLine_37.result(), SketchLine_39.result())
SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_38.startPoint(), SketchLine_37.startPoint(), 0.44, False)
SketchMultiTranslation_1_objects = [SketchLine_37.result(), SketchLine_40.result(), SketchLine_39.result()]
SketchMultiTranslation_1 = Sketch_4.addTranslation(SketchMultiTranslation_1_objects, SketchLine_40.startPoint(), SketchLine_38.endPoint(), 4, True)
[SketchLine_41, SketchLine_42, SketchLine_43, SketchLine_44, SketchLine_45, SketchLine_46, SketchLine_47, SketchLine_48, SketchLine_49] = SketchMultiTranslation_1.translated()
SketchLine_49.setName("SketchLine_51")
SketchLine_49.result().setName("SketchLine_51")
SketchLine_48.setName("SketchLine_50")
SketchLine_48.result().setName("SketchLine_50")
SketchLine_47.setName("SketchLine_45")
SketchLine_47.result().setName("SketchLine_45")
SketchLine_46.setName("SketchLine_49")
SketchLine_46.result().setName("SketchLine_49")
SketchLine_45.setName("SketchLine_48")
SketchLine_45.result().setName("SketchLine_48")
SketchLine_44.setName("SketchLine_46")
SketchLine_44.result().setName("SketchLine_46")
SketchLine_43.setName("SketchLine_47")
SketchLine_43.result().setName("SketchLine_47")
SketchLine_42.setName("SketchLine_44")
SketchLine_42.result().setName("SketchLine_44")
SketchLine_41.setName("SketchLine_43")
SketchLine_41.result().setName("SketchLine_43")
model.do()
ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/From_Face"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
Plane_4 = model.addPlane(Part_1_doc, model.selection("VERTEX", "[ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1][ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_10]"), model.selection("VERTEX", "[ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_8][Extrusion_1_1/Generated_Face&Sketch_1/SketchArc_1_2]"), model.selection("VERTEX", "[ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1][(ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1)(ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face)(ExtrusionCut_2_1/Modified_Face&Sketch_1/SketchLine_4&ExtrusionCut_2_1/To_Face_2)][ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face]"))
Sketch_5 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
SketchArc_4 = Sketch_5.addArc(25, -7.50002056854448, 22, -7.5, 28, -7.5, True)
SketchPoint_5 = Sketch_5.addPoint(22, -7.5)
SketchConstraintRigid_1 = Sketch_5.setFixed(SketchPoint_5.result())
SketchConstraintRigid_1.setName("SketchConstraintRigid_10")
SketchConstraintCoincidence_60 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchPoint_5.result())
SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_64")
SketchPoint_6 = Sketch_5.addPoint(28, -7.5)
SketchConstraintRigid_2 = Sketch_5.setFixed(SketchPoint_6.result())
SketchConstraintRigid_2.setName("SketchConstraintRigid_11")
SketchConstraintCoincidence_61 = Sketch_5.setCoincident(SketchArc_4.endPoint(), SketchPoint_6.result())
SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_65")
SketchConstraintRadius_2 = Sketch_5.setRadius(SketchArc_4.results()[1], 3)
SketchLine_50 = Sketch_5.addLine(22, -7.5, 22, -11.56094005408083)
SketchLine_50.setName("SketchLine_52")
SketchLine_50.result().setName("SketchLine_52")
SketchConstraintCoincidence_62 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchLine_50.startPoint())
SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_66")
SketchConstraintCoincidence_63 = Sketch_5.setCoincident(SketchPoint_5.coordinates(), SketchLine_50.startPoint())
SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_67")
SketchLine_51 = Sketch_5.addLine(22, -11.56094005408083, 28, -11.56094005408083)
SketchLine_51.setName("SketchLine_53")
SketchLine_51.result().setName("SketchLine_53")
SketchConstraintCoincidence_64 = Sketch_5.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint())
SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_68")
SketchLine_52 = Sketch_5.addLine(28, -11.56094005408083, 28, -7.5)
SketchLine_52.setName("SketchLine_54")
SketchLine_52.result().setName("SketchLine_54")
SketchConstraintCoincidence_65 = Sketch_5.setCoincident(SketchLine_51.endPoint(), SketchLine_52.startPoint())
SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_69")
SketchConstraintCoincidence_66 = Sketch_5.setCoincident(SketchArc_4.endPoint(), SketchLine_52.endPoint())
SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_70")
SketchConstraintCoincidence_67 = Sketch_5.setCoincident(SketchPoint_6.coordinates(), SketchLine_52.endPoint())
SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_71")
SketchConstraintVertical_10 = Sketch_5.setVertical(SketchLine_50.result())
SketchConstraintVertical_11 = Sketch_5.setVertical(SketchLine_52.result())
SketchConstraintHorizontal_11 = Sketch_5.setHorizontal(SketchLine_51.result())
SketchConstraintHorizontal_11.setName("SketchConstraintHorizontal_12")
model.do()
Plane_5 = model.addPlane(Part_1_doc, model.selection("FACE", "ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face"), 6, True)
Plane_6 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 3, True)
ExtrusionCut_4 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2r-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), 3, 0, [model.selection("SOLID", "ExtrusionCut_3_1")])
ExtrusionCut_5 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2r-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), model.selection("FACE", "Plane_3"), 0, model.selection("FACE", "Plane_2"), 0, [model.selection("SOLID", "ExtrusionCut_4_1")])
Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_4_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchArc_5 = Sketch_6.addArc(46, 0, 45.5, 0, 46.5, 0, False)
SketchLine_53 = Sketch_6.addLine(0, 0, 54, 0)
SketchLine_53.setName("SketchLine_55")
SketchLine_53.result().setName("SketchLine_55")
SketchConstraintRigid_3 = Sketch_6.setFixed(SketchLine_53.result())
SketchConstraintRigid_3.setName("SketchConstraintRigid_12")
SketchConstraintCoincidence_68 = Sketch_6.setCoincident(SketchArc_5.center(), SketchLine_53.result())
SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_72")
SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchArc_5.startPoint(), SketchLine_53.result())
SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_73")
SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchArc_5.endPoint(), SketchLine_53.result())
SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_74")
SketchLine_54 = Sketch_6.addLine(45.5, 0, 46.5, 0)
SketchLine_54.setName("SketchLine_56")
SketchLine_54.result().setName("SketchLine_56")
SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchArc_5.startPoint(), SketchLine_54.startPoint())
SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_75")
SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchArc_5.endPoint(), SketchLine_54.endPoint())
SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_76")
SketchConstraintRadius_3 = Sketch_6.setRadius(SketchArc_5.results()[1], 0.5)
SketchLine_55 = Sketch_6.addLine(0, 0, 0, 3.5)
SketchLine_55.setName("SketchLine_57")
SketchLine_55.result().setName("SketchLine_57")
SketchConstraintDistance_11 = Sketch_6.setDistance(SketchArc_5.center(), SketchLine_55.result(), 46, False)
SketchConstraintRigid_4 = Sketch_6.setFixed(SketchLine_55.result())
SketchConstraintRigid_4.setName("SketchConstraintRigid_13")
SketchPoint_7 = Sketch_6.addPoint(58, 0)
SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchPoint_7.coordinates(), SketchLine_53.result())
SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_77")
SketchConstraintDistance_12 = Sketch_6.setDistance(SketchArc_5.center(), SketchPoint_7.coordinates(), 12, False)
SketchMultiTranslation_2 = Sketch_6.addTranslation([SketchLine_54.result(), SketchArc_5.results()[1]], SketchArc_5.center(), SketchPoint_7.coordinates(), 9, True)
[SketchLine_56, SketchLine_57, SketchLine_58, SketchLine_59, SketchLine_60, SketchLine_61, SketchLine_62, SketchLine_63, SketchArc_6, SketchArc_7, SketchArc_8, SketchArc_9, SketchArc_10, SketchArc_11, SketchArc_12, SketchArc_13] = SketchMultiTranslation_2.translated()
SketchLine_63.setName("SketchLine_65")
SketchLine_63.result().setName("SketchLine_65")
SketchLine_62.setName("SketchLine_64")
SketchLine_62.result().setName("SketchLine_64")
SketchLine_61.setName("SketchLine_63")
SketchLine_61.result().setName("SketchLine_63")
SketchLine_60.setName("SketchLine_62")
SketchLine_60.result().setName("SketchLine_62")
SketchLine_59.setName("SketchLine_61")
SketchLine_59.result().setName("SketchLine_61")
SketchLine_58.setName("SketchLine_60")
SketchLine_58.result().setName("SketchLine_60")
SketchLine_57.setName("SketchLine_59")
SketchLine_57.result().setName("SketchLine_59")
SketchLine_56.setName("SketchLine_58")
SketchLine_56.result().setName("SketchLine_58")
model.do()
ExtrusionFuse_1 = model.addExtrusionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), model.selection("FACE", "Sketch_1/Face-SketchLine_1r-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_14r-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchArc_2_2r-SketchLine_12r-SketchLine_11r-SketchLine_10r"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_5_1")])
Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_27)(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_26)(ExtrusionCut_2_1/Modified_Face&Sketch_1/SketchLine_4&ExtrusionCut_2_1/To_Face_2)(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_28)_ExtrusionFuse_1_1"))
SketchLine_64 = Sketch_7.addLine(50.25, -4.5, 31.25, -4.5)
SketchLine_64.setName("SketchLine_76")
SketchLine_64.result().setName("SketchLine_76")
SketchLine_65 = Sketch_7.addLine(51, -6.75, 51, -5.25)
SketchLine_65.setName("SketchLine_78")
SketchLine_65.result().setName("SketchLine_78")
SketchLine_66 = Sketch_7.addLine(31, -4.75, 31, -7.249999999978425)
SketchLine_66.setName("SketchLine_80")
SketchLine_66.result().setName("SketchLine_80")
SketchLine_67 = Sketch_7.addLine(31.25000000000632, -7.499999999999999, 50.25, -7.5)
SketchLine_67.setName("SketchLine_79")
SketchLine_67.result().setName("SketchLine_79")
SketchLine_68 = Sketch_7.addLine(51, -4.5, 31, -4.5)
SketchLine_68.setName("SketchLine_66")
SketchLine_68.result().setName("SketchLine_66")
SketchLine_68.setAuxiliary(True)
SketchLine_69 = Sketch_7.addLine(51, -7.5, 51, -4.5)
SketchLine_69.setAuxiliary(True)
SketchConstraintCoincidence_74 = Sketch_7.setCoincident(SketchLine_69.endPoint(), SketchLine_68.startPoint())
SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_78")
SketchLine_70 = Sketch_7.addLine(31, -4.5, 31, -7.5)
SketchLine_70.setName("SketchLine_67")
SketchLine_70.result().setName("SketchLine_67")
SketchLine_70.setAuxiliary(True)
SketchConstraintCoincidence_75 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint())
SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_79")
SketchLine_71 = Sketch_7.addLine(31, -7.5, 51, -7.5)
SketchLine_71.setName("SketchLine_68")
SketchLine_71.result().setName("SketchLine_68")
SketchLine_71.setAuxiliary(True)
SketchConstraintCoincidence_76 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_71.startPoint())
SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_80")
SketchConstraintCoincidence_77 = Sketch_7.setCoincident(SketchLine_71.endPoint(), SketchLine_69.startPoint())
SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_81")
SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_68.result())
SketchConstraintHorizontal_12.setName("SketchConstraintHorizontal_13")
SketchConstraintVertical_12 = Sketch_7.setVertical(SketchLine_70.result())
SketchConstraintHorizontal_13 = Sketch_7.setHorizontal(SketchLine_71.result())
SketchConstraintHorizontal_13.setName("SketchConstraintHorizontal_14")
SketchConstraintVertical_13 = Sketch_7.setVertical(SketchLine_69.result())
SketchLine_72 = Sketch_7.addLine(31, -7.5, 51, -4.5)
SketchLine_72.setName("SketchLine_70")
SketchLine_72.result().setName("SketchLine_70")
SketchLine_72.setAuxiliary(True)
SketchConstraintCoincidence_78 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_72.startPoint())
SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_82")
SketchConstraintCoincidence_79 = Sketch_7.setCoincident(SketchLine_71.startPoint(), SketchLine_72.startPoint())
SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_83")
SketchPoint_8 = Sketch_7.addPoint(51, -4.5)
SketchConstraintCoincidence_80 = Sketch_7.setCoincident(SketchLine_68.startPoint(), SketchPoint_8.coordinates())
SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_84")
SketchConstraintCoincidence_81 = Sketch_7.setCoincident(SketchLine_69.endPoint(), SketchPoint_8.coordinates())
SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_85")
SketchPoint_9 = Sketch_7.addPoint(41, -6)
SketchPoint_9.setAuxiliary(True)
SketchConstraintCoincidence_82 = Sketch_7.setCoincident(SketchPoint_9.coordinates(), SketchLine_72.result())
SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_86")
SketchConstraintMiddle_3 = Sketch_7.setMiddlePoint(SketchLine_72.result(), SketchPoint_9.coordinates())
SketchPoint_10 = Sketch_7.addPoint(21, -6)
SketchPoint_10.setAuxiliary(True)
SketchLine_73 = Sketch_7.addLine(21, -10.5, 21, -1.5)
SketchLine_73.setName("SketchLine_71")
SketchLine_73.result().setName("SketchLine_71")
SketchConstraintRigid_5 = Sketch_7.setFixed(SketchLine_73.result())
SketchConstraintRigid_5.setName("SketchConstraintRigid_14")
SketchConstraintCoincidence_83 = Sketch_7.setCoincident(SketchPoint_10.coordinates(), SketchLine_73.result())
SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_87")
SketchConstraintMiddle_4 = Sketch_7.setMiddlePoint(SketchPoint_10.coordinates(), SketchLine_73.result())
SketchLine_74 = Sketch_7.addLine(21, -6, 41, -6)
SketchLine_74.setName("SketchLine_72")
SketchLine_74.result().setName("SketchLine_72")
SketchLine_74.setAuxiliary(True)
SketchConstraintCoincidence_84 = Sketch_7.setCoincident(SketchPoint_10.coordinates(), SketchLine_74.startPoint())
SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_88")
SketchConstraintCoincidence_85 = Sketch_7.setCoincident(SketchPoint_9.coordinates(), SketchLine_74.endPoint())
SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_89")
SketchConstraintHorizontal_14 = Sketch_7.setHorizontal(SketchLine_74.result())
SketchConstraintHorizontal_14.setName("SketchConstraintHorizontal_15")
SketchConstraintCoincidence_86 = Sketch_7.setCoincident(SketchLine_72.endPoint(), SketchLine_68.startPoint())
SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_90")
SketchConstraintLength_12 = Sketch_7.setLength(SketchLine_69.result(), 3)
SketchConstraintLength_12.setName("SketchConstraintLength_13")
SketchConstraintLength_13 = Sketch_7.setLength(SketchLine_68.result(), 20)
SketchConstraintLength_13.setName("SketchConstraintLength_14")
SketchPoint_11 = Sketch_7.addPoint(29, -10.5)
SketchConstraintDistance_13 = Sketch_7.setDistance(SketchPoint_11.coordinates(), SketchLine_70.result(), 2, False)
SketchConstraintRigid_6 = Sketch_7.setFixed(SketchPoint_11.result())
SketchConstraintRigid_6.setName("SketchConstraintRigid_15")
SketchArc_14 = Sketch_7.addArc(50.25, -5.25, 51, -5.25, 50.25, -4.5, False)
SketchLine_75 = Sketch_7.addLine(51, -7.5, 51, -5.25)
SketchLine_75.setName("SketchLine_74")
SketchLine_75.result().setName("SketchLine_74")
SketchLine_75.setAuxiliary(True)
SketchConstraintCoincidence_87 = Sketch_7.setCoincident(SketchArc_14.startPoint(), SketchLine_75.endPoint())
SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_91")
SketchLine_76 = Sketch_7.addLine(50.25, -4.5, 31, -4.5)
SketchLine_76.setName("SketchLine_73")
SketchLine_76.result().setName("SketchLine_73")
SketchLine_76.setAuxiliary(True)
SketchConstraintCoincidence_88 = Sketch_7.setCoincident(SketchArc_14.endPoint(), SketchLine_76.startPoint())
SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_92")
SketchConstraintTangent_2 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_76.result())
SketchConstraintTangent_3 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_75.result())
SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_76.endPoint())
SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93")
SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_69.startPoint(), SketchLine_75.startPoint())
SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_94")
SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_68.result())
SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95")
SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_69.result())
SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_96")
SketchArc_15 = Sketch_7.addArc(31.25, -4.750000000010547, 31.24999999999071, -4.5, 31, -4.750000000010547, False)
SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchArc_15.startPoint(), SketchLine_64.endPoint())
SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_97")
SketchLine_77 = Sketch_7.addLine(31, -4.75, 31, -7.5)
SketchLine_77.setName("SketchLine_75")
SketchLine_77.result().setName("SketchLine_75")
SketchLine_77.setAuxiliary(True)
SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchArc_15.endPoint(), SketchLine_77.startPoint())
SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_98")
SketchConstraintTangent_4 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_77.result())
SketchConstraintTangent_5 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_64.result())
SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_77.endPoint())
SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_99")
SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_64.startPoint())
SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_100")
SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_77.startPoint(), SketchLine_70.result())
SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_101")
SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_64.endPoint(), SketchLine_76.result())
SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_102")
SketchArc_16 = Sketch_7.addArc(50.25, -6.75, 50.25, -7.5, 51, -6.75, False)
SketchLine_78 = Sketch_7.addLine(31, -7.5, 50.25, -7.5)
SketchLine_78.setName("SketchLine_77")
SketchLine_78.result().setName("SketchLine_77")
SketchLine_78.setAuxiliary(True)
SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchArc_16.startPoint(), SketchLine_78.endPoint())
SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_103")
SketchConstraintCoincidence_100 = Sketch_7.setCoincident(SketchArc_16.endPoint(), SketchLine_65.startPoint())
SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_104")
SketchConstraintTangent_6 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_78.result())
SketchConstraintTangent_7 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_65.result())
SketchConstraintCoincidence_101 = Sketch_7.setCoincident(SketchLine_71.startPoint(), SketchLine_78.startPoint())
SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_105")
SketchConstraintCoincidence_102 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_65.endPoint())
SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_106")
SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchLine_78.endPoint(), SketchLine_71.result())
SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_107")
SketchConstraintCoincidence_104 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_75.result())
SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_108")
SketchArc_17 = Sketch_7.addArc(31.25000000000166, -7.249999999978784, 31, -7.249999999978425, 31.25000000000632, -7.499999999999999, False)
SketchConstraintCoincidence_105 = Sketch_7.setCoincident(SketchArc_17.startPoint(), SketchLine_66.endPoint())
SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_109")
SketchConstraintCoincidence_106 = Sketch_7.setCoincident(SketchArc_17.endPoint(), SketchLine_67.startPoint())
SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_110")
SketchConstraintCoincidence_107 = Sketch_7.setCoincident(SketchLine_78.endPoint(), SketchLine_67.endPoint())
SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_111")
SketchConstraintCoincidence_108 = Sketch_7.setCoincident(SketchLine_77.startPoint(), SketchLine_66.startPoint())
SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_112")
SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchLine_67.startPoint(), SketchLine_78.result())
SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_113")
SketchConstraintCoincidence_110 = Sketch_7.setCoincident(SketchLine_66.endPoint(), SketchLine_77.result())
SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_114")
SketchConstraintRadius_4 = Sketch_7.setRadius(SketchArc_14.results()[1], 0.75)
SketchConstraintRadius_5 = Sketch_7.setRadius(SketchArc_16.results()[1], 0.75)
SketchConstraintRadius_6 = Sketch_7.setRadius(SketchArc_15.results()[1], 0.25)
SketchConstraintTangent_8 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_67.result())
SketchConstraintTangent_8.setName("SketchConstraintTangent_16")
SketchConstraintTangent_9 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_66.result())
SketchConstraintTangent_9.setName("SketchConstraintTangent_17")
SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_17.results()[1], 0.25)
SketchConstraintRadius_7.setName("SketchConstraintRadius_10")
model.do()
ExtrusionCut_6 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection(), 0, 20, [model.selection("SOLID", "ExtrusionFuse_1_1")])
Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "(ExtrusionFuse_1_1/Modified_Face&Extrusion_1_1/From_Face)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_76)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchArc_15_2)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_80)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchArc_17_2)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_79)(ExtrusionFuse_1_1/Modified_Face&Extrusion_1_1/To_Face)(Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_10)"))
SketchPoint_12 = Sketch_8.addPoint(54, 0)
SketchPoint_13 = Sketch_8.addPoint(54, 0)
SketchConstraintRigid_7 = Sketch_8.setFixed(SketchPoint_13.result())
SketchConstraintRigid_7.setName("SketchConstraintRigid_16")
SketchConstraintCoincidence_111 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchPoint_13.result())
SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_115")
SketchPoint_14 = Sketch_8.addPoint(54, 12)
SketchLine_79 = Sketch_8.addLine(54, 12, 54, 0)
SketchLine_79.setName("SketchLine_81")
SketchLine_79.result().setName("SketchLine_81")
SketchLine_79.setAuxiliary(True)
SketchConstraintCoincidence_112 = Sketch_8.setCoincident(SketchPoint_14.coordinates(), SketchLine_79.startPoint())
SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_116")
SketchConstraintCoincidence_113 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchLine_79.endPoint())
SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_117")
SketchConstraintCoincidence_114 = Sketch_8.setCoincident(SketchPoint_13.coordinates(), SketchLine_79.endPoint())
SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_118")
SketchPoint_15 = Sketch_8.addPoint(54, 11)
SketchConstraintCoincidence_115 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchLine_79.result())
SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_119")
SketchPoint_16 = Sketch_8.addPoint(54, 1)
SketchConstraintCoincidence_116 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchLine_79.result())
SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_120")
SketchConstraintDistance_14 = Sketch_8.setDistance(SketchPoint_12.coordinates(), SketchPoint_16.coordinates(), 1, False)
SketchConstraintDistance_15 = Sketch_8.setDistance(SketchPoint_14.coordinates(), SketchPoint_15.coordinates(), 1, False)
SketchPoint_17 = Sketch_8.addPoint(54, 12)
SketchConstraintCoincidence_117 = Sketch_8.setCoincident(SketchPoint_14.coordinates(), SketchPoint_17.coordinates())
SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_121")
SketchConstraintRigid_8 = Sketch_8.setFixed(SketchPoint_17.result())
SketchConstraintRigid_8.setName("SketchConstraintRigid_17")
SketchLine_80 = Sketch_8.addLine(54, 11, 43.82041221793113, 11)
SketchLine_80.setName("SketchLine_82")
SketchLine_80.result().setName("SketchLine_82")
SketchConstraintCoincidence_118 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchLine_80.startPoint())
SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_122")
SketchLine_81 = Sketch_8.addLine(43.82041221793113, 11, 43.82041221793113, 13.36310636658867)
SketchLine_81.setName("SketchLine_83")
SketchLine_81.result().setName("SketchLine_83")
SketchConstraintCoincidence_119 = Sketch_8.setCoincident(SketchLine_80.endPoint(), SketchLine_81.startPoint())
SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_123")
SketchLine_82 = Sketch_8.addLine(43.82041221793113, 13.36310636658867, 63.09515214070713, 13.47539228785809)
SketchLine_82.setName("SketchLine_84")
SketchLine_82.result().setName("SketchLine_84")
SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_81.endPoint(), SketchLine_82.startPoint())
SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_124")
SketchLine_83 = Sketch_8.addLine(63.09515214070713, 13.47539228785809, 63.12349734647592, -1.774328415749978)
SketchLine_83.setName("SketchLine_85")
SketchLine_83.result().setName("SketchLine_85")
SketchConstraintCoincidence_121 = Sketch_8.setCoincident(SketchLine_82.endPoint(), SketchLine_83.startPoint())
SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_125")
SketchLine_84 = Sketch_8.addLine(63.12349734647592, -1.774328415749978, 43.82041221793113, -1.802673621518767)
SketchLine_84.setName("SketchLine_86")
SketchLine_84.result().setName("SketchLine_86")
SketchConstraintCoincidence_122 = Sketch_8.setCoincident(SketchLine_83.endPoint(), SketchLine_84.startPoint())
SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_126")
SketchLine_85 = Sketch_8.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 1)
SketchLine_85.setName("SketchLine_87")
SketchLine_85.result().setName("SketchLine_87")
SketchConstraintCoincidence_123 = Sketch_8.setCoincident(SketchLine_84.endPoint(), SketchLine_85.startPoint())
SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_127")
SketchLine_86 = Sketch_8.addLine(54, 1, 43.79206701216234, 1)
SketchLine_86.setName("SketchLine_88")
SketchLine_86.result().setName("SketchLine_88")
SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchLine_86.startPoint())
SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_128")
SketchConstraintHorizontal_15 = Sketch_8.setHorizontal(SketchLine_86.result())
SketchConstraintHorizontal_15.setName("SketchConstraintHorizontal_16")
SketchConstraintHorizontal_16 = Sketch_8.setHorizontal(SketchLine_80.result())
SketchConstraintHorizontal_16.setName("SketchConstraintHorizontal_17")
SketchConstraintCoincidence_125 = Sketch_8.setCoincident(SketchLine_85.endPoint(), SketchLine_86.endPoint())
SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_129")
SketchArc_18 = Sketch_8.addArc(54, 6, 54, 11, 54, 1, True)
SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchArc_18.center(), SketchLine_79.result())
SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_130")
SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchArc_18.startPoint())
SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_130_")
SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchLine_80.startPoint(), SketchArc_18.startPoint())
SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_131")
SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchArc_18.endPoint())
SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_132")
SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchLine_86.startPoint(), SketchArc_18.endPoint())
SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_133")
SketchLine_87 = Sketch_8.addLine(43.50261344273609, 8.25, 43.50261344273609, 3.75)
SketchLine_87.setName("SketchLine_90")
SketchLine_87.result().setName("SketchLine_90")
SketchConstraintVertical_14 = Sketch_8.setVertical(SketchLine_87.result())
SketchConstraintLength_14 = Sketch_8.setLength(SketchLine_87.result(), 4.5)
SketchConstraintLength_14.setName("SketchConstraintLength_15")
SketchPoint_18 = Sketch_8.addPoint(43.50261344273609, 6)
SketchConstraintMiddle_5 = Sketch_8.setMiddlePoint(SketchPoint_18.coordinates(), SketchLine_87.result())
SketchPoint_19 = Sketch_8.addPoint(0, 6)
SketchPoint_19.setAuxiliary(True)
SketchLine_88 = Sketch_8.addLine(0, 0, 0, 12)
SketchLine_88.setName("SketchLine_94")
SketchLine_88.result().setName("SketchLine_94")
SketchConstraintRigid_9 = Sketch_8.setFixed(SketchLine_88.result())
SketchConstraintRigid_9.setName("SketchConstraintRigid_19")
SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_88.result())
SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_139")
SketchConstraintMiddle_6 = Sketch_8.setMiddlePoint(SketchLine_88.result(), SketchPoint_19.coordinates())
SketchLine_89 = Sketch_8.addLine(0, 6, 68.8619738308997, 6)
SketchLine_89.setName("SketchLine_95")
SketchLine_89.result().setName("SketchLine_95")
SketchLine_89.setAuxiliary(True)
SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_89.startPoint())
SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_140")
SketchConstraintHorizontal_17 = Sketch_8.setHorizontal(SketchLine_89.result())
SketchConstraintHorizontal_17.setName("SketchConstraintHorizontal_20")
SketchPoint_20 = Sketch_8.addPoint(48.00130672136804, 6)
SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchPoint_20.coordinates(), SketchLine_89.result())
SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_146")
SketchLine_90 = Sketch_8.addLine(43.50261344273609, 8.25, 51.26978940411676, 8.25)
SketchLine_90.setName("SketchLine_92")
SketchLine_90.result().setName("SketchLine_92")
SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchLine_87.startPoint(), SketchLine_90.startPoint())
SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_135")
SketchLine_91 = Sketch_8.addLine(51.26978940411676, 8.25, 51.26978940411676, 3.75)
SketchLine_91.setName("SketchLine_97")
SketchLine_91.result().setName("SketchLine_97")
SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchLine_90.endPoint(), SketchLine_91.startPoint())
SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_136")
SketchLine_92 = Sketch_8.addLine(51.26978940411676, 3.75, 43.50261344273609, 3.75)
SketchLine_92.setName("SketchLine_98")
SketchLine_92.result().setName("SketchLine_98")
SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchLine_91.endPoint(), SketchLine_92.startPoint())
SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_137")
SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_92.endPoint())
SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_138")
SketchConstraintHorizontal_18 = Sketch_8.setHorizontal(SketchLine_92.result())
SketchConstraintHorizontal_19 = Sketch_8.setHorizontal(SketchLine_90.result())
SketchConstraintVertical_15 = Sketch_8.setVertical(SketchLine_91.result())
SketchLine_93 = Sketch_8.addLine(43.50261344273609, 3.75, 51.26978940411676, 8.25)
SketchLine_93.setAuxiliary(True)
SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_93.startPoint())
SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_141")
SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_92.endPoint(), SketchLine_93.startPoint())
SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_142")
SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchLine_91.startPoint(), SketchLine_93.endPoint())
SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_143")
SketchPoint_21 = Sketch_8.addPoint(47.38620142342643, 6)
SketchPoint_21.setAuxiliary(True)
SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_93.result())
SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_144")
SketchConstraintMiddle_7 = Sketch_8.setMiddlePoint(SketchPoint_21.coordinates(), SketchLine_93.result())
SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_89.result())
SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_145")
model.do()
ExtrusionCut_7 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_8")], model.selection(), 10, 0, [model.selection("SOLID", "ExtrusionCut_6_1")])
Sketch_9 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_7_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchLine_94 = Sketch_9.addLine(21, 4.163450069699051, 21, 0)
SketchLine_94.setName("SketchLine_107")
SketchLine_94.result().setName("SketchLine_107")
SketchLine_95 = Sketch_9.addLine(29, 5, 21, 5)
SketchLine_95.setName("SketchLine_96")
SketchLine_95.result().setName("SketchLine_96")
SketchLine_95.setAuxiliary(True)
SketchArc_19 = Sketch_9.addArc(25, 8, 21.53774043054522, 4.392679848735523, 28.46225956945478, 4.392679848735522, False)
SketchArc_19.setName("SketchArc_22")
SketchArc_19.result().setName("SketchArc_22")
SketchArc_19.results()[1].setName("SketchArc_22_2")
SketchLine_96 = Sketch_9.addLine(21, 0, 29, 0)
SketchLine_96.setName("SketchLine_100")
SketchLine_96.result().setName("SketchLine_100")
SketchLine_97 = Sketch_9.addLine(29, 0, 29, 4.163450069699049)
SketchLine_97.setName("SketchLine_108")
SketchLine_97.result().setName("SketchLine_108")
SketchLine_98 = Sketch_9.addLine(29, 0, 29, 5)
SketchLine_98.setName("SketchLine_101")
SketchLine_98.result().setName("SketchLine_101")
SketchLine_98.setAuxiliary(True)
SketchConstraintCoincidence_143 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchLine_95.startPoint())
SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_147")
SketchLine_99 = Sketch_9.addLine(21, 5, 21, 0)
SketchLine_99.setAuxiliary(True)
SketchConstraintCoincidence_144 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchLine_99.startPoint())
SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_148")
SketchConstraintCoincidence_145 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_96.startPoint())
SketchConstraintCoincidence_145.setName("SketchConstraintCoincidence_149")
SketchConstraintCoincidence_146 = Sketch_9.setCoincident(SketchLine_96.endPoint(), SketchLine_98.startPoint())
SketchConstraintCoincidence_146.setName("SketchConstraintCoincidence_150")
SketchConstraintHorizontal_20 = Sketch_9.setHorizontal(SketchLine_95.result())
SketchConstraintHorizontal_20.setName("SketchConstraintHorizontal_21")
SketchConstraintVertical_16 = Sketch_9.setVertical(SketchLine_99.result())
SketchConstraintHorizontal_21 = Sketch_9.setHorizontal(SketchLine_96.result())
SketchConstraintHorizontal_21.setName("SketchConstraintHorizontal_22")
SketchConstraintVertical_17 = Sketch_9.setVertical(SketchLine_98.result())
SketchPoint_22 = Sketch_9.addPoint(21, 7.5)
SketchConstraintCoincidence_147 = Sketch_9.setCoincident(SketchLine_99.result(), SketchPoint_22.coordinates())
SketchConstraintCoincidence_147.setName("SketchConstraintCoincidence_151")
SketchConstraintRigid_10 = Sketch_9.setFixed(SketchPoint_22.result())
SketchConstraintRigid_10.setName("SketchConstraintRigid_18")
SketchPoint_23 = Sketch_9.addPoint(29, 7.5)
SketchConstraintCoincidence_148 = Sketch_9.setCoincident(SketchLine_98.result(), SketchPoint_23.coordinates())
SketchConstraintCoincidence_148.setName("SketchConstraintCoincidence_152")
SketchConstraintRigid_11 = Sketch_9.setFixed(SketchPoint_23.result())
SketchConstraintRigid_11.setName("SketchConstraintRigid_20")
SketchConstraintLength_15 = Sketch_9.setLength(SketchLine_99.result(), 5)
SketchConstraintLength_15.setName("SketchConstraintLength_16")
SketchLine_100 = Sketch_9.addLine(0, 0, 45.5, 0)
SketchLine_100.setName("SketchLine_102")
SketchLine_100.result().setName("SketchLine_102")
SketchConstraintCoincidence_149 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_100.result())
SketchConstraintCoincidence_149.setName("SketchConstraintCoincidence_153")
SketchConstraintRigid_12 = Sketch_9.setFixed(SketchLine_100.result())
SketchConstraintRigid_12.setName("SketchConstraintRigid_21")
SketchArc_20 = Sketch_9.addArc(25, 8, 21, 5, 29, 5, False)
SketchArc_20.setName("SketchArc_19")
SketchArc_20.result().setName("SketchArc_19")
SketchArc_20.results()[1].setName("SketchArc_19_2")
SketchArc_20.setAuxiliary(True)
SketchConstraintCoincidence_150 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchArc_20.startPoint())
SketchConstraintCoincidence_150.setName("SketchConstraintCoincidence_154")
SketchConstraintCoincidence_151 = Sketch_9.setCoincident(SketchLine_99.startPoint(), SketchArc_20.startPoint())
SketchConstraintCoincidence_151.setName("SketchConstraintCoincidence_155")
SketchConstraintCoincidence_152 = Sketch_9.setCoincident(SketchLine_95.startPoint(), SketchArc_20.endPoint())
SketchConstraintCoincidence_152.setName("SketchConstraintCoincidence_156")
SketchConstraintCoincidence_153 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchArc_20.endPoint())
SketchConstraintCoincidence_153.setName("SketchConstraintCoincidence_157")
SketchConstraintRadius_8 = Sketch_9.setRadius(SketchArc_20.results()[1], 5)
SketchLine_101 = Sketch_9.addLine(1, 0, 1, 1.8)
SketchLine_101.setName("SketchLine_103")
SketchLine_101.result().setName("SketchLine_103")
SketchConstraintCoincidence_154 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_100.result())
SketchConstraintCoincidence_154.setName("SketchConstraintCoincidence_158")
SketchLine_102 = Sketch_9.addLine(1, 1.8, 8, 3.389761862250954)
SketchLine_102.setName("SketchLine_104")
SketchLine_102.result().setName("SketchLine_104")
SketchConstraintCoincidence_155 = Sketch_9.setCoincident(SketchLine_101.endPoint(), SketchLine_102.startPoint())
SketchConstraintCoincidence_155.setName("SketchConstraintCoincidence_159")
SketchLine_103 = Sketch_9.addLine(8, 3.389761862250954, 8, 0)
SketchLine_103.setName("SketchLine_105")
SketchLine_103.result().setName("SketchLine_105")
SketchConstraintCoincidence_156 = Sketch_9.setCoincident(SketchLine_102.endPoint(), SketchLine_103.startPoint())
SketchConstraintCoincidence_156.setName("SketchConstraintCoincidence_160")
SketchLine_104 = Sketch_9.addLine(8, 0, 1, 0)
SketchLine_104.setName("SketchLine_106")
SketchLine_104.result().setName("SketchLine_106")
SketchConstraintCoincidence_157 = Sketch_9.setCoincident(SketchLine_103.endPoint(), SketchLine_104.startPoint())
SketchConstraintCoincidence_157.setName("SketchConstraintCoincidence_161")
SketchConstraintCoincidence_158 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_104.endPoint())
SketchConstraintCoincidence_158.setName("SketchConstraintCoincidence_162")
SketchConstraintCoincidence_159 = Sketch_9.setCoincident(SketchLine_104.startPoint(), SketchLine_100.result())
SketchConstraintCoincidence_159.setName("SketchConstraintCoincidence_163")
SketchConstraintVertical_18 = Sketch_9.setVertical(SketchLine_103.result())
SketchConstraintVertical_19 = Sketch_9.setVertical(SketchLine_101.result())
SketchConstraintLength_16 = Sketch_9.setLength(SketchLine_104.result(), 7)
SketchConstraintLength_16.setName("SketchConstraintLength_17")
SketchConstraintDistance_16 = Sketch_9.setDistance(SketchLine_101.result(), SketchLine_100.startPoint(), 1, False)
SketchConstraintLength_17 = Sketch_9.setLength(SketchLine_101.result(), 1.8)
SketchConstraintLength_17.setName("SketchConstraintLength_18")
SketchArc_21 = Sketch_9.addArc(21.31772863153846, 4.163450069699051, 21.53774043054522, 4.392679848735523, 21, 4.163450069699051, False)
SketchArc_22 = Sketch_9.addArc(25, 8, 21.53774043054522, 4.392679848735523, 29, 5, False)
SketchArc_22.setName("SketchArc_20")
SketchArc_22.result().setName("SketchArc_20")
SketchArc_22.results()[1].setName("SketchArc_20_2")
SketchArc_22.setAuxiliary(True)
SketchConstraintCoincidence_160 = Sketch_9.setCoincident(SketchArc_21.startPoint(), SketchArc_22.startPoint())
SketchConstraintCoincidence_160.setName("SketchConstraintCoincidence_164")
SketchConstraintCoincidence_161 = Sketch_9.setCoincident(SketchArc_21.endPoint(), SketchLine_94.startPoint())
SketchConstraintCoincidence_161.setName("SketchConstraintCoincidence_165")
SketchConstraintTangent_10 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchLine_94.result())
SketchConstraintTangent_11 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchArc_22.results()[1])
SketchConstraintCoincidence_162 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_94.endPoint())
SketchConstraintCoincidence_162.setName("SketchConstraintCoincidence_166")
SketchConstraintCoincidence_163 = Sketch_9.setCoincident(SketchArc_20.endPoint(), SketchArc_22.endPoint())
SketchConstraintCoincidence_163.setName("SketchConstraintCoincidence_167")
SketchConstraintTangent_12 = Sketch_9.setTangent(SketchArc_20.results()[1], SketchArc_22.results()[1])
SketchConstraintCoincidence_164 = Sketch_9.setCoincident(SketchLine_94.startPoint(), SketchLine_99.result())
SketchConstraintCoincidence_164.setName("SketchConstraintCoincidence_168")
SketchConstraintCoincidence_165 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_20.results()[1])
SketchConstraintCoincidence_165.setName("SketchConstraintCoincidence_169")
SketchArc_23 = Sketch_9.addArc(28.68227136846154, 4.163450069699049, 29, 4.163450069699049, 28.46225956945478, 4.392679848735522, False)
SketchConstraintCoincidence_166 = Sketch_9.setCoincident(SketchArc_23.startPoint(), SketchLine_97.endPoint())
SketchConstraintCoincidence_166.setName("SketchConstraintCoincidence_170")
SketchConstraintCoincidence_167 = Sketch_9.setCoincident(SketchArc_23.endPoint(), SketchArc_19.endPoint())
SketchConstraintCoincidence_167.setName("SketchConstraintCoincidence_171")
SketchConstraintTangent_13 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchArc_19.results()[1])
SketchConstraintTangent_14 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchLine_97.result())
SketchConstraintCoincidence_168 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_19.startPoint())
SketchConstraintCoincidence_168.setName("SketchConstraintCoincidence_172")
SketchConstraintCoincidence_169 = Sketch_9.setCoincident(SketchLine_98.startPoint(), SketchLine_97.startPoint())
SketchConstraintCoincidence_169.setName("SketchConstraintCoincidence_173")
SketchConstraintTangent_15 = Sketch_9.setTangent(SketchArc_22.results()[1], SketchArc_19.results()[1])
SketchConstraintCoincidence_170 = Sketch_9.setCoincident(SketchArc_19.endPoint(), SketchArc_22.results()[1])
SketchConstraintCoincidence_170.setName("SketchConstraintCoincidence_174")
SketchConstraintCoincidence_171 = Sketch_9.setCoincident(SketchLine_97.endPoint(), SketchLine_98.result())
SketchConstraintCoincidence_171.setName("SketchConstraintCoincidence_175")
model.do()
Plane_7 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 4, False)
Plane_8 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 4, True)
ExtrusionCut_8 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection(), model.selection("FACE", "Plane_5"), 0, model.selection("FACE", "Plane_4"), 0, [model.selection("SOLID", "ExtrusionCut_7_1")])
Sketch_10 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_8_1/Modified_Face&Sketch_1/SketchLine_1"))
SketchCircle_1 = Sketch_10.addCircle(12, 6, 1)
SketchConstraintRadius_9 = Sketch_10.setRadius(SketchCircle_1.results()[1], 1)
SketchPoint_24 = Sketch_10.addPoint(0, 6)
SketchPoint_24.setAuxiliary(True)
SketchLine_105 = Sketch_10.addLine(0, 0, 0, 12)
SketchLine_105.setName("SketchLine_109")
SketchLine_105.result().setName("SketchLine_109")
SketchConstraintRigid_13 = Sketch_10.setFixed(SketchLine_105.result())
SketchConstraintRigid_13.setName("SketchConstraintRigid_22")
SketchConstraintCoincidence_172 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_105.result())
SketchConstraintCoincidence_172.setName("SketchConstraintCoincidence_176")
SketchConstraintMiddle_8 = Sketch_10.setMiddlePoint(SketchLine_105.result(), SketchPoint_24.coordinates())
SketchLine_106 = Sketch_10.addLine(0, 6, 17.31036191565843, 6)
SketchLine_106.setName("SketchLine_110")
SketchLine_106.result().setName("SketchLine_110")
SketchLine_106.setAuxiliary(True)
SketchConstraintCoincidence_173 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_106.startPoint())
SketchConstraintCoincidence_173.setName("SketchConstraintCoincidence_177")
SketchConstraintHorizontal_22 = Sketch_10.setHorizontal(SketchLine_106.result())
SketchConstraintHorizontal_22.setName("SketchConstraintHorizontal_23")
SketchConstraintCoincidence_174 = Sketch_10.setCoincident(SketchCircle_1.center(), SketchLine_106.result())
SketchConstraintCoincidence_174.setName("SketchConstraintCoincidence_178")
SketchConstraintDistance_17 = Sketch_10.setDistance(SketchLine_105.result(), SketchCircle_1.center(), 12, False)
model.do()
ExtrusionCut_9 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_10/Face-SketchCircle_1_2r_wire")], model.selection(), 0, 0.75, [model.selection("SOLID", "ExtrusionCut_8_1")])
model.do()
Part_2 = model.addPart(partSet)
Part_2_doc = Part_2.document()
Sketch_11 = model.addSketch(Part_2_doc, model.defaultPlane("XOY"))
SketchLine_107 = Sketch_11.addLine(0, 0, 60, 0)
SketchPoint_25 = Sketch_11.addPoint(model.selection("VERTEX", "PartSet/Origin"))
SketchConstraintCoincidence_175 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchPoint_25.result())
SketchLine_108 = Sketch_11.addLine(60, 0, 60, 1.5)
SketchLine_108.setName("SketchLine_3")
SketchLine_108.result().setName("SketchLine_3")
SketchConstraintCoincidence_176 = Sketch_11.setCoincident(SketchLine_107.endPoint(), SketchLine_108.startPoint())
SketchConstraintCoincidence_176.setName("SketchConstraintCoincidence_3")
SketchLine_109 = Sketch_11.addLine(60, 1.5, 57, 1.5)
SketchLine_109.setName("SketchLine_4")
SketchLine_109.result().setName("SketchLine_4")
SketchConstraintCoincidence_177 = Sketch_11.setCoincident(SketchLine_108.endPoint(), SketchLine_109.startPoint())
SketchConstraintCoincidence_177.setName("SketchConstraintCoincidence_4")
SketchLine_110 = Sketch_11.addLine(57, 1.5, 29, 7.5)
SketchLine_110.setName("SketchLine_5")
SketchLine_110.result().setName("SketchLine_5")
SketchConstraintCoincidence_178 = Sketch_11.setCoincident(SketchLine_109.endPoint(), SketchLine_110.startPoint())
SketchConstraintCoincidence_178.setName("SketchConstraintCoincidence_5")
SketchLine_111 = Sketch_11.addLine(28, 7.5, 28, 8)
SketchLine_111.setName("SketchLine_7")
SketchLine_111.result().setName("SketchLine_7")
SketchArc_24 = Sketch_11.addArc(25.00007393928819, 7.9789374678129, 28, 8, 22.00014787857639, 8, False)
SketchLine_112 = Sketch_11.addLine(22.00014787857639, 8, 22.00014787857639, 7.5)
SketchLine_112.setName("SketchLine_8")
SketchLine_112.result().setName("SketchLine_8")
SketchConstraintCoincidence_179 = Sketch_11.setCoincident(SketchArc_24.endPoint(), SketchLine_112.startPoint())
SketchConstraintCoincidence_179.setName("SketchConstraintCoincidence_8")
SketchLine_113 = Sketch_11.addLine(22.00014787857639, 7.5, 21.00014787857639, 7.5)
SketchLine_113.setName("SketchLine_9")
SketchLine_113.result().setName("SketchLine_9")
SketchConstraintCoincidence_180 = Sketch_11.setCoincident(SketchLine_112.endPoint(), SketchLine_113.startPoint())
SketchConstraintCoincidence_180.setName("SketchConstraintCoincidence_9")
SketchLine_114 = Sketch_11.addLine(0, 0, 0, 3.5)
SketchLine_114.setName("SketchLine_10")
SketchLine_114.result().setName("SketchLine_10")
SketchConstraintCoincidence_181 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchLine_114.startPoint())
SketchConstraintCoincidence_181.setName("SketchConstraintCoincidence_10")
SketchConstraintCoincidence_182 = Sketch_11.setCoincident(SketchPoint_25.coordinates(), SketchLine_114.startPoint())
SketchConstraintCoincidence_182.setName("SketchConstraintCoincidence_11")
SketchLine_115 = Sketch_11.addLine(0, 3.5, 8, 5)
SketchLine_115.setName("SketchLine_11")
SketchLine_115.result().setName("SketchLine_11")
SketchConstraintCoincidence_183 = Sketch_11.setCoincident(SketchLine_114.endPoint(), SketchLine_115.startPoint())
SketchConstraintCoincidence_183.setName("SketchConstraintCoincidence_13")
SketchLine_116 = Sketch_11.addLine(8, 5, 10.426976887961, 4.40018070612629)
SketchLine_116.setName("SketchLine_12")
SketchLine_116.result().setName("SketchLine_12")
SketchConstraintCoincidence_184 = Sketch_11.setCoincident(SketchLine_115.endPoint(), SketchLine_116.startPoint())
SketchConstraintCoincidence_184.setName("SketchConstraintCoincidence_14")
SketchConstraintLength_18 = Sketch_11.setLength(SketchLine_107.result(), 60)
SketchConstraintHorizontal_23 = Sketch_11.setHorizontal(SketchLine_107.result())
SketchConstraintVertical_20 = Sketch_11.setVertical(SketchLine_108.result())
SketchConstraintHorizontal_24 = Sketch_11.setHorizontal(SketchLine_109.result())
SketchConstraintHorizontal_25 = Sketch_11.setHorizontal(SketchLine_113.result())
SketchConstraintHorizontal_25.setName("SketchConstraintHorizontal_4")
SketchConstraintVertical_21 = Sketch_11.setVertical(SketchLine_111.result())
SketchConstraintVertical_22 = Sketch_11.setVertical(SketchLine_112.result())
SketchConstraintCoincidence_185 = Sketch_11.setCoincident(SketchLine_111.endPoint(), SketchArc_24.startPoint())
SketchConstraintCoincidence_185.setName("SketchConstraintCoincidence_15")
SketchConstraintVertical_23 = Sketch_11.setVertical(SketchLine_114.result())
SketchConstraintDistance_18 = Sketch_11.setDistance(SketchLine_114.endPoint(), SketchLine_107.result(), 3.5, False)
SketchConstraintDistance_19 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_114.result(), 8, False)
SketchConstraintLength_19 = Sketch_11.setLength(SketchLine_116.result(), 2.5)
SketchConstraintRadius_10 = Sketch_11.setRadius(SketchArc_24.results()[1], 3)
SketchConstraintLength_20 = Sketch_11.setLength(SketchLine_112.result(), 0.5)
SketchConstraintLength_21 = Sketch_11.setLength(SketchLine_113.result(), 1)
SketchConstraintLength_22 = Sketch_11.setLength(SketchLine_111.result(), 0.5)
SketchConstraintDistance_20 = Sketch_11.setDistance(SketchLine_112.endPoint(), SketchLine_107.result(), 7.5, False)
SketchConstraintLength_23 = Sketch_11.setLength(SketchLine_109.result(), 3)
SketchConstraintLength_23.setName("SketchConstraintLength_7")
SketchConstraintLength_24 = Sketch_11.setLength(SketchLine_108.result(), 1.5)
SketchConstraintLength_24.setName("SketchConstraintLength_8")
SketchConstraintDistance_21 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_107.result(), 5, False)
SketchConstraintDistance_22 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_107.result(), 7.5, False)
SketchLine_117 = Sketch_11.addLine(12.81710695710752, 0, 12.81710695710752, 7.765286531476907)
SketchLine_117.setName("SketchLine_13")
SketchLine_117.result().setName("SketchLine_13")
SketchLine_117.setAuxiliary(True)
SketchConstraintCoincidence_186 = Sketch_11.setCoincident(SketchLine_117.startPoint(), SketchLine_107.result())
SketchConstraintCoincidence_186.setName("SketchConstraintCoincidence_16")
SketchConstraintVertical_24 = Sketch_11.setVertical(SketchLine_117.result())
SketchPoint_26 = Sketch_11.addPoint(12.81710695710752, 3)
SketchPoint_26.setAuxiliary(True)
SketchConstraintCoincidence_187 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchLine_117.result())
SketchConstraintCoincidence_187.setName("SketchConstraintCoincidence_17")
SketchConstraintDistance_23 = Sketch_11.setDistance(SketchPoint_26.coordinates(), SketchLine_107.result(), 3, False)
SketchLine_118 = Sketch_11.addLine(28, 7.5, 29, 7.5)
SketchLine_118.setName("SketchLine_14")
SketchLine_118.result().setName("SketchLine_14")
SketchConstraintCoincidence_188 = Sketch_11.setCoincident(SketchLine_111.startPoint(), SketchLine_118.startPoint())
SketchConstraintCoincidence_188.setName("SketchConstraintCoincidence_18")
SketchConstraintCoincidence_189 = Sketch_11.setCoincident(SketchLine_110.endPoint(), SketchLine_118.endPoint())
SketchConstraintCoincidence_189.setName("SketchConstraintCoincidence_19")
SketchConstraintLength_25 = Sketch_11.setLength(SketchLine_118.result(), 1)
SketchConstraintLength_25.setName("SketchConstraintLength_9")
SketchArc_25 = Sketch_11.addArc(14.78851987160339, 9.105317068618911, 10.426976887961, 4.40018070612629, 21.00014787857639, 7.5, False)
SketchConstraintCoincidence_190 = Sketch_11.setCoincident(SketchLine_116.endPoint(), SketchArc_25.startPoint())
SketchConstraintCoincidence_190.setName("SketchConstraintCoincidence_20")
SketchConstraintCoincidence_191 = Sketch_11.setCoincident(SketchLine_113.endPoint(), SketchArc_25.endPoint())
SketchConstraintCoincidence_191.setName("SketchConstraintCoincidence_21")
SketchConstraintCoincidence_192 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchArc_25.results()[1])
SketchConstraintCoincidence_192.setName("SketchConstraintCoincidence_22")
SketchConstraintHorizontal_26 = Sketch_11.setHorizontal(SketchLine_118.result())
SketchConstraintHorizontal_26.setName("SketchConstraintHorizontal_9")
SketchConstraintDistance_24 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_108.result(), 32, False)
SketchConstraintDistance_24.setName("SketchConstraintDistance_9")
model.do()
Extrusion_2 = model.addExtrusion(Part_2_doc, [model.selection("WIRE", "Sketch_1/Face-SketchLine_1r-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_14r-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchArc_2_2r-SketchLine_12r-SketchLine_11r-SketchLine_10r_wire")], model.selection(), 12, 0)
Sketch_12 = model.addSketch(Part_2_doc, model.standardPlane("XOZ"))
SketchArc_26 = Sketch_12.addArc(54, 6, 54, 12, 54, 0, True)
SketchLine_119 = Sketch_12.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_1][Extrusion_1_1/To_Face]"))
SketchLine_119.setName("SketchLine_15")
SketchLine_119.result().setName("SketchLine_15")
SketchConstraintCoincidence_193 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_119.result())
SketchConstraintCoincidence_193.setName("SketchConstraintCoincidence_23")
SketchLine_120 = Sketch_12.addLine(model.selection("EDGE", "Sketch_1/SketchLine_1"))
SketchLine_120.setName("SketchLine_16")
SketchLine_120.result().setName("SketchLine_16")
SketchConstraintCoincidence_194 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_120.result())
SketchConstraintCoincidence_194.setName("SketchConstraintCoincidence_24")
SketchLine_121 = Sketch_12.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_1][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_3]"))
SketchLine_121.setName("SketchLine_17")
SketchLine_121.result().setName("SketchLine_17")
SketchConstraintTangent_16 = Sketch_12.setTangent(SketchArc_26.results()[1], SketchLine_121.result())
SketchConstraintDistance_25 = Sketch_12.setDistance(SketchArc_26.startPoint(), SketchLine_121.result(), 6, False)
SketchConstraintDistance_25.setName("SketchConstraintDistance_7")
SketchLine_122 = Sketch_12.addLine(54, 12, 53.10174978726379, 13.92603605930655)
SketchLine_122.setName("SketchLine_18")
SketchLine_122.result().setName("SketchLine_18")
SketchConstraintCoincidence_195 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_122.startPoint())
SketchConstraintCoincidence_195.setName("SketchConstraintCoincidence_25")
SketchLine_123 = Sketch_12.addLine(53.10174978726379, 13.92603605930655, 63.82610057919769, 13.82486293862793)
SketchLine_123.setName("SketchLine_19")
SketchLine_123.result().setName("SketchLine_19")
SketchConstraintCoincidence_196 = Sketch_12.setCoincident(SketchLine_122.endPoint(), SketchLine_123.startPoint())
SketchConstraintCoincidence_196.setName("SketchConstraintCoincidence_26")
SketchLine_124 = Sketch_12.addLine(63.82610057919769, 13.82486293862793, 62.66260969139353, -3.07104821470189)
SketchLine_124.setName("SketchLine_20")
SketchLine_124.result().setName("SketchLine_20")
SketchConstraintCoincidence_197 = Sketch_12.setCoincident(SketchLine_123.endPoint(), SketchLine_124.startPoint())
SketchConstraintCoincidence_197.setName("SketchConstraintCoincidence_27")
SketchLine_125 = Sketch_12.addLine(62.66260969139353, -3.07104821470189, 53.10174978726379, -2.868701973344648)
SketchLine_125.setName("SketchLine_21")
SketchLine_125.result().setName("SketchLine_21")
SketchConstraintCoincidence_198 = Sketch_12.setCoincident(SketchLine_124.endPoint(), SketchLine_125.startPoint())
SketchConstraintCoincidence_198.setName("SketchConstraintCoincidence_28")
SketchLine_126 = Sketch_12.addLine(53.10174978726379, -2.868701973344648, 54, 0)
SketchLine_126.setName("SketchLine_22")
SketchLine_126.result().setName("SketchLine_22")
SketchConstraintCoincidence_199 = Sketch_12.setCoincident(SketchLine_125.endPoint(), SketchLine_126.startPoint())
SketchConstraintCoincidence_199.setName("SketchConstraintCoincidence_29")
SketchConstraintCoincidence_200 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_126.endPoint())
SketchConstraintCoincidence_200.setName("SketchConstraintCoincidence_30")
model.do()
ExtrusionCut_10 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_2/Face-SketchLine_22r-SketchLine_21r-SketchLine_20r-SketchLine_19r-SketchLine_18r-SketchArc_3_2r")], model.selection(), 7, 15, [model.selection("SOLID", "Extrusion_1_1")])
Sketch_13 = model.addSketch(Part_2_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14"))
SketchLine_127 = Sketch_13.addLine(28, -6, -4.270492394552598, -6)
SketchLine_127.setName("SketchLine_23")
SketchLine_127.result().setName("SketchLine_23")
SketchLine_127.setAuxiliary(True)
SketchLine_128 = Sketch_13.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_7][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14]"))
SketchLine_128.setName("SketchLine_24")
SketchLine_128.result().setName("SketchLine_24")
SketchConstraintCoincidence_201 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_128.result())
SketchConstraintCoincidence_201.setName("SketchConstraintCoincidence_31")
SketchConstraintHorizontal_27 = Sketch_13.setHorizontal(SketchLine_127.result())
SketchLine_129 = Sketch_13.addLine(28, -6, 63.78468475453244, -6)
SketchLine_129.setName("SketchLine_25")
SketchLine_129.result().setName("SketchLine_25")
SketchLine_129.setAuxiliary(True)
SketchConstraintCoincidence_202 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_129.startPoint())
SketchConstraintCoincidence_202.setName("SketchConstraintCoincidence_32")
SketchConstraintHorizontal_28 = Sketch_13.setHorizontal(SketchLine_129.result())
SketchLine_130 = Sketch_13.addLine(60, -1.5, 29, -1.5)
SketchLine_130.setName("SketchLine_26")
SketchLine_130.result().setName("SketchLine_26")
SketchLine_131 = Sketch_13.addLine(29, -1.5, 29, -10.5)
SketchLine_131.setName("SketchLine_27")
SketchLine_131.result().setName("SketchLine_27")
SketchLine_132 = Sketch_13.addLine(29, -10.5, 60, -10.5)
SketchLine_132.setName("SketchLine_28")
SketchLine_132.result().setName("SketchLine_28")
SketchLine_133 = Sketch_13.addLine(60, -10.5, 60, -1.5)
SketchLine_133.setName("SketchLine_29")
SketchLine_133.result().setName("SketchLine_29")
SketchConstraintCoincidence_203 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_130.startPoint())
SketchConstraintCoincidence_203.setName("SketchConstraintCoincidence_33")
SketchConstraintCoincidence_204 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_131.startPoint())
SketchConstraintCoincidence_204.setName("SketchConstraintCoincidence_34")
SketchConstraintCoincidence_205 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_132.startPoint())
SketchConstraintCoincidence_205.setName("SketchConstraintCoincidence_35")
SketchConstraintCoincidence_206 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_133.startPoint())
SketchConstraintCoincidence_206.setName("SketchConstraintCoincidence_36")
SketchConstraintHorizontal_29 = Sketch_13.setHorizontal(SketchLine_130.result())
SketchConstraintVertical_25 = Sketch_13.setVertical(SketchLine_131.result())
SketchConstraintHorizontal_30 = Sketch_13.setHorizontal(SketchLine_132.result())
SketchConstraintVertical_26 = Sketch_13.setVertical(SketchLine_133.result())
SketchLine_134 = Sketch_13.addLine(29, -10.5, 60, -1.5)
SketchLine_134.setName("SketchLine_30")
SketchLine_134.result().setName("SketchLine_30")
SketchLine_134.setAuxiliary(True)
SketchConstraintCoincidence_207 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_134.startPoint())
SketchConstraintCoincidence_207.setName("SketchConstraintCoincidence_37")
SketchConstraintCoincidence_208 = Sketch_13.setCoincident(SketchLine_132.startPoint(), SketchLine_134.startPoint())
SketchConstraintCoincidence_208.setName("SketchConstraintCoincidence_38")
SketchConstraintCoincidence_209 = Sketch_13.setCoincident(SketchLine_130.startPoint(), SketchLine_134.endPoint())
SketchConstraintCoincidence_209.setName("SketchConstraintCoincidence_39")
SketchConstraintCoincidence_210 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_134.endPoint())
SketchConstraintCoincidence_210.setName("SketchConstraintCoincidence_40")
SketchLine_135 = Sketch_13.addLine(29, -1.5, 60, -10.5)
SketchLine_135.setName("SketchLine_31")
SketchLine_135.result().setName("SketchLine_31")
SketchLine_135.setAuxiliary(True)
SketchConstraintCoincidence_211 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_135.startPoint())
SketchConstraintCoincidence_211.setName("SketchConstraintCoincidence_41")
SketchConstraintCoincidence_212 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_135.startPoint())
SketchConstraintCoincidence_212.setName("SketchConstraintCoincidence_42")
SketchConstraintCoincidence_213 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_135.endPoint())
SketchConstraintCoincidence_213.setName("SketchConstraintCoincidence_43")
SketchConstraintCoincidence_214 = Sketch_13.setCoincident(SketchLine_133.startPoint(), SketchLine_135.endPoint())
SketchConstraintCoincidence_214.setName("SketchConstraintCoincidence_44")
SketchPoint_27 = Sketch_13.addPoint(44.5, -6)
SketchPoint_27.setAuxiliary(True)
SketchConstraintCoincidence_215 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_135.result())
SketchConstraintCoincidence_215.setName("SketchConstraintCoincidence_45")
SketchConstraintMiddle_9 = Sketch_13.setMiddlePoint(SketchPoint_27.coordinates(), SketchLine_135.result())
SketchConstraintCoincidence_216 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_129.result())
SketchConstraintCoincidence_216.setName("SketchConstraintCoincidence_46")
SketchConstraintDistance_26 = Sketch_13.setDistance(SketchLine_128.startPoint(), SketchLine_129.result(), 6, False)
SketchConstraintDistance_26.setName("SketchConstraintDistance_8")
SketchConstraintLength_26 = Sketch_13.setLength(SketchLine_133.result(), 9)
SketchConstraintLength_26.setName("SketchConstraintLength_10")
SketchLine_136 = Sketch_13.addLine(21.00014787857639, -1.499999999999981, 12.00014787857639, -1.499999999999981)
SketchLine_136.setName("SketchLine_32")
SketchLine_136.result().setName("SketchLine_32")
SketchLine_137 = Sketch_13.addLine(12.00014787857639, -1.499999999999981, 12.00014787857639, -10.49999999999998)
SketchLine_137.setName("SketchLine_33")
SketchLine_137.result().setName("SketchLine_33")
SketchLine_138 = Sketch_13.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -10.49999999999998)
SketchLine_138.setName("SketchLine_34")
SketchLine_138.result().setName("SketchLine_34")
SketchLine_139 = Sketch_13.addLine(21.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981)
SketchLine_139.setName("SketchLine_35")
SketchLine_139.result().setName("SketchLine_35")
SketchConstraintCoincidence_217 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_136.startPoint())
SketchConstraintCoincidence_217.setName("SketchConstraintCoincidence_47")
SketchConstraintCoincidence_218 = Sketch_13.setCoincident(SketchLine_136.endPoint(), SketchLine_137.startPoint())
SketchConstraintCoincidence_218.setName("SketchConstraintCoincidence_48")
SketchConstraintCoincidence_219 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_138.startPoint())
SketchConstraintCoincidence_219.setName("SketchConstraintCoincidence_49")
SketchConstraintCoincidence_220 = Sketch_13.setCoincident(SketchLine_138.endPoint(), SketchLine_139.startPoint())
SketchConstraintCoincidence_220.setName("SketchConstraintCoincidence_50")
SketchConstraintHorizontal_31 = Sketch_13.setHorizontal(SketchLine_136.result())
SketchConstraintHorizontal_31.setName("SketchConstraintHorizontal_10")
SketchConstraintVertical_27 = Sketch_13.setVertical(SketchLine_137.result())
SketchConstraintHorizontal_32 = Sketch_13.setHorizontal(SketchLine_138.result())
SketchConstraintHorizontal_32.setName("SketchConstraintHorizontal_11")
SketchConstraintVertical_28 = Sketch_13.setVertical(SketchLine_139.result())
SketchConstraintEqual_4 = Sketch_13.setEqual(SketchLine_131.result(), SketchLine_139.result())
SketchLine_140 = Sketch_13.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981)
SketchLine_140.setName("SketchLine_36")
SketchLine_140.result().setName("SketchLine_36")
SketchLine_140.setAuxiliary(True)
SketchConstraintCoincidence_221 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_140.startPoint())
SketchConstraintCoincidence_221.setName("SketchConstraintCoincidence_51")
SketchConstraintCoincidence_222 = Sketch_13.setCoincident(SketchLine_138.startPoint(), SketchLine_140.startPoint())
SketchConstraintCoincidence_222.setName("SketchConstraintCoincidence_52")
SketchConstraintCoincidence_223 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_140.endPoint())
SketchConstraintCoincidence_223.setName("SketchConstraintCoincidence_53")
SketchConstraintCoincidence_224 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_140.endPoint())
SketchConstraintCoincidence_224.setName("SketchConstraintCoincidence_54")
SketchPoint_28 = Sketch_13.addPoint(16.50014787857639, -6)
SketchPoint_28.setAuxiliary(True)
SketchConstraintCoincidence_225 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_140.result())
SketchConstraintCoincidence_225.setName("SketchConstraintCoincidence_55")
SketchConstraintMiddle_10 = Sketch_13.setMiddlePoint(SketchLine_140.result(), SketchPoint_28.coordinates())
SketchConstraintCoincidence_226 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_127.result())
SketchConstraintCoincidence_226.setName("SketchConstraintCoincidence_56")
SketchLine_141 = Sketch_13.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_14][ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_5]"))
SketchLine_141.setName("SketchLine_37")
SketchLine_141.result().setName("SketchLine_37")
SketchConstraintCoincidence_227 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_141.result())
SketchConstraintCoincidence_227.setName("SketchConstraintCoincidence_57")
SketchConstraintLength_27 = Sketch_13.setLength(SketchLine_130.result(), 31)
SketchConstraintLength_27.setName("SketchConstraintLength_11")
SketchLine_142 = Sketch_13.addLine(model.selection("EDGE", "[Extrusion_1_1/Generated_Face&Sketch_1/SketchArc_2_2][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_9]"))
SketchLine_142.setName("SketchLine_38")
SketchLine_142.result().setName("SketchLine_38")
SketchConstraintCoincidence_228 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_142.result())
SketchConstraintCoincidence_228.setName("SketchConstraintCoincidence_58")
SketchConstraintEqual_5 = Sketch_13.setEqual(SketchLine_136.result(), SketchLine_131.result())
model.do()
ExtrusionCut_11 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_3/Face-SketchLine_32f-SketchLine_33f-SketchLine_34f-SketchLine_35f"), model.selection("FACE", "Sketch_3/Face-SketchLine_26f-SketchLine_27f-SketchLine_28f-SketchLine_29f")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_4"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_1_1")])
Sketch_14 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchLine_143 = Sketch_14.addLine(0.4324637622511017, 3.581086955422081, 1.55585595716119, 2.812450190483599)
SketchLine_143.setName("SketchLine_39")
SketchLine_143.result().setName("SketchLine_39")
SketchLine_144 = Sketch_14.addLine(model.selection("EDGE", "[ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_11]"))
SketchLine_144.setName("SketchLine_40")
SketchLine_144.result().setName("SketchLine_40")
SketchConstraintCoincidence_229 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_144.result())
SketchConstraintCoincidence_229.setName("SketchConstraintCoincidence_59")
SketchLine_145 = Sketch_14.addLine(1.55585595716119, 2.812450190483599, 2.324492722099671, 3.935842385393688)
SketchLine_145.setName("SketchLine_41")
SketchLine_145.result().setName("SketchLine_41")
SketchConstraintCoincidence_230 = Sketch_14.setCoincident(SketchLine_143.endPoint(), SketchLine_145.startPoint())
SketchConstraintCoincidence_230.setName("SketchConstraintCoincidence_60")
SketchConstraintCoincidence_231 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_144.result())
SketchConstraintCoincidence_231.setName("SketchConstraintCoincidence_61")
SketchLine_146 = Sketch_14.addLine(2.324492722099671, 3.935842385393688, 0.4324637622511017, 3.581086955422081)
SketchLine_146.setName("SketchLine_42")
SketchLine_146.result().setName("SketchLine_42")
SketchConstraintCoincidence_232 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_146.startPoint())
SketchConstraintCoincidence_232.setName("SketchConstraintCoincidence_62")
SketchConstraintCoincidence_233 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_146.endPoint())
SketchConstraintCoincidence_233.setName("SketchConstraintCoincidence_63")
SketchConstraintLength_28 = Sketch_14.setLength(SketchLine_146.result(), 1.925)
SketchConstraintLength_28.setName("SketchConstraintLength_12")
SketchConstraintEqual_6 = Sketch_14.setEqual(SketchLine_143.result(), SketchLine_145.result())
SketchConstraintPerpendicular_2 = Sketch_14.setPerpendicular(SketchLine_143.result(), SketchLine_145.result())
SketchConstraintDistance_27 = Sketch_14.setDistance(SketchLine_144.startPoint(), SketchLine_143.startPoint(), 0.44, False)
SketchMultiTranslation_3_objects = [SketchLine_143.result(), SketchLine_146.result(), SketchLine_145.result()]
SketchMultiTranslation_3 = Sketch_14.addTranslation(SketchMultiTranslation_3_objects, SketchLine_146.startPoint(), SketchLine_144.endPoint(), 4, True)
[SketchLine_147, SketchLine_148, SketchLine_149, SketchLine_150, SketchLine_151, SketchLine_152, SketchLine_153, SketchLine_154, SketchLine_155] = SketchMultiTranslation_3.translated()
SketchLine_155.setName("SketchLine_51")
SketchLine_155.result().setName("SketchLine_51")
SketchLine_154.setName("SketchLine_50")
SketchLine_154.result().setName("SketchLine_50")
SketchLine_153.setName("SketchLine_45")
SketchLine_153.result().setName("SketchLine_45")
SketchLine_152.setName("SketchLine_49")
SketchLine_152.result().setName("SketchLine_49")
SketchLine_151.setName("SketchLine_48")
SketchLine_151.result().setName("SketchLine_48")
SketchLine_150.setName("SketchLine_46")
SketchLine_150.result().setName("SketchLine_46")
SketchLine_149.setName("SketchLine_47")
SketchLine_149.result().setName("SketchLine_47")
SketchLine_148.setName("SketchLine_44")
SketchLine_148.result().setName("SketchLine_44")
SketchLine_147.setName("SketchLine_43")
SketchLine_147.result().setName("SketchLine_43")
model.do()
ExtrusionCut_12 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modified_Face&Extrusion_1_1/From_Face"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
Plane_9 = model.addPlane(Part_2_doc, model.selection("VERTEX", "[ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1][ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_10]"), model.selection("VERTEX", "[ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face][Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_8][Extrusion_1_1/Generated_Face&Sketch_1/SketchArc_1_2]"), model.selection("VERTEX", "[ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1][(ExtrusionCut_1_1/Modified_Face&Sketch_1/SketchLine_1)(ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face)(ExtrusionCut_2_1/Modified_Face&Sketch_1/SketchLine_4&ExtrusionCut_2_1/To_Face_2)][ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face]"))
Sketch_15 = model.addSketch(Part_2_doc, model.selection("FACE", "Plane_1"))
SketchArc_27 = Sketch_15.addArc(25, -7.50002056854448, 22, -7.5, 28, -7.5, True)
SketchPoint_29 = Sketch_15.addPoint(22, -7.5)
SketchConstraintRigid_14 = Sketch_15.setFixed(SketchPoint_29.result())
SketchConstraintRigid_14.setName("SketchConstraintRigid_10")
SketchConstraintCoincidence_234 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchPoint_29.result())
SketchConstraintCoincidence_234.setName("SketchConstraintCoincidence_64")
SketchPoint_30 = Sketch_15.addPoint(28, -7.5)
SketchConstraintRigid_15 = Sketch_15.setFixed(SketchPoint_30.result())
SketchConstraintRigid_15.setName("SketchConstraintRigid_11")
SketchConstraintCoincidence_235 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchPoint_30.result())
SketchConstraintCoincidence_235.setName("SketchConstraintCoincidence_65")
SketchConstraintRadius_11 = Sketch_15.setRadius(SketchArc_27.results()[1], 3)
SketchLine_156 = Sketch_15.addLine(22, -7.5, 22, -11.56094005408083)
SketchLine_156.setName("SketchLine_52")
SketchLine_156.result().setName("SketchLine_52")
SketchConstraintCoincidence_236 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchLine_156.startPoint())
SketchConstraintCoincidence_236.setName("SketchConstraintCoincidence_66")
SketchConstraintCoincidence_237 = Sketch_15.setCoincident(SketchPoint_29.coordinates(), SketchLine_156.startPoint())
SketchConstraintCoincidence_237.setName("SketchConstraintCoincidence_67")
SketchLine_157 = Sketch_15.addLine(22, -11.56094005408083, 28, -11.56094005408083)
SketchLine_157.setName("SketchLine_53")
SketchLine_157.result().setName("SketchLine_53")
SketchConstraintCoincidence_238 = Sketch_15.setCoincident(SketchLine_156.endPoint(), SketchLine_157.startPoint())
SketchConstraintCoincidence_238.setName("SketchConstraintCoincidence_68")
SketchLine_158 = Sketch_15.addLine(28, -11.56094005408083, 28, -7.5)
SketchLine_158.setName("SketchLine_54")
SketchLine_158.result().setName("SketchLine_54")
SketchConstraintCoincidence_239 = Sketch_15.setCoincident(SketchLine_157.endPoint(), SketchLine_158.startPoint())
SketchConstraintCoincidence_239.setName("SketchConstraintCoincidence_69")
SketchConstraintCoincidence_240 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchLine_158.endPoint())
SketchConstraintCoincidence_240.setName("SketchConstraintCoincidence_70")
SketchConstraintCoincidence_241 = Sketch_15.setCoincident(SketchPoint_30.coordinates(), SketchLine_158.endPoint())
SketchConstraintCoincidence_241.setName("SketchConstraintCoincidence_71")
SketchConstraintVertical_29 = Sketch_15.setVertical(SketchLine_156.result())
SketchConstraintVertical_30 = Sketch_15.setVertical(SketchLine_158.result())
SketchConstraintHorizontal_33 = Sketch_15.setHorizontal(SketchLine_157.result())
SketchConstraintHorizontal_33.setName("SketchConstraintHorizontal_12")
model.do()
Plane_10 = model.addPlane(Part_2_doc, model.selection("FACE", "ExtrusionCut_3_1/Modified_Face&Extrusion_1_1/To_Face"), 6, True)
Plane_11 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 3, True)
ExtrusionCut_13 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2r-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), 3, 0, [model.selection("SOLID", "ExtrusionCut_3_1")])
ExtrusionCut_14 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2r-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), model.selection("FACE", "Plane_3"), 0, model.selection("FACE", "Plane_2"), 0, [model.selection("SOLID", "ExtrusionCut_4_1")])
Sketch_16 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_4_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchArc_28 = Sketch_16.addArc(46, 0, 45.5, 0, 46.5, 0, False)
SketchLine_159 = Sketch_16.addLine(0, 0, 54, 0)
SketchLine_159.setName("SketchLine_55")
SketchLine_159.result().setName("SketchLine_55")
SketchConstraintRigid_16 = Sketch_16.setFixed(SketchLine_159.result())
SketchConstraintRigid_16.setName("SketchConstraintRigid_12")
SketchConstraintCoincidence_242 = Sketch_16.setCoincident(SketchArc_28.center(), SketchLine_159.result())
SketchConstraintCoincidence_242.setName("SketchConstraintCoincidence_72")
SketchConstraintCoincidence_243 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_159.result())
SketchConstraintCoincidence_243.setName("SketchConstraintCoincidence_73")
SketchConstraintCoincidence_244 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_159.result())
SketchConstraintCoincidence_244.setName("SketchConstraintCoincidence_74")
SketchLine_160 = Sketch_16.addLine(45.5, 0, 46.5, 0)
SketchLine_160.setName("SketchLine_56")
SketchLine_160.result().setName("SketchLine_56")
SketchConstraintCoincidence_245 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_160.startPoint())
SketchConstraintCoincidence_245.setName("SketchConstraintCoincidence_75")
SketchConstraintCoincidence_246 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_160.endPoint())
SketchConstraintCoincidence_246.setName("SketchConstraintCoincidence_76")
SketchConstraintRadius_12 = Sketch_16.setRadius(SketchArc_28.results()[1], 0.5)
SketchLine_161 = Sketch_16.addLine(0, 0, 0, 3.5)
SketchLine_161.setName("SketchLine_57")
SketchLine_161.result().setName("SketchLine_57")
SketchConstraintDistance_28 = Sketch_16.setDistance(SketchArc_28.center(), SketchLine_161.result(), 46, False)
SketchConstraintRigid_17 = Sketch_16.setFixed(SketchLine_161.result())
SketchConstraintRigid_17.setName("SketchConstraintRigid_13")
SketchPoint_31 = Sketch_16.addPoint(58, 0)
SketchConstraintCoincidence_247 = Sketch_16.setCoincident(SketchPoint_31.coordinates(), SketchLine_159.result())
SketchConstraintCoincidence_247.setName("SketchConstraintCoincidence_77")
SketchConstraintDistance_29 = Sketch_16.setDistance(SketchArc_28.center(), SketchPoint_31.coordinates(), 12, False)
SketchMultiTranslation_4 = Sketch_16.addTranslation([SketchLine_160.result(), SketchArc_28.results()[1]], SketchArc_28.center(), SketchPoint_31.coordinates(), 9, True)
[SketchLine_162, SketchLine_163, SketchLine_164, SketchLine_165, SketchLine_166, SketchLine_167, SketchLine_168, SketchLine_169, SketchArc_29, SketchArc_30, SketchArc_31, SketchArc_32, SketchArc_33, SketchArc_34, SketchArc_35, SketchArc_36] = SketchMultiTranslation_4.translated()
SketchLine_169.setName("SketchLine_65")
SketchLine_169.result().setName("SketchLine_65")
SketchLine_168.setName("SketchLine_64")
SketchLine_168.result().setName("SketchLine_64")
SketchLine_167.setName("SketchLine_63")
SketchLine_167.result().setName("SketchLine_63")
SketchLine_166.setName("SketchLine_62")
SketchLine_166.result().setName("SketchLine_62")
SketchLine_165.setName("SketchLine_61")
SketchLine_165.result().setName("SketchLine_61")
SketchLine_164.setName("SketchLine_60")
SketchLine_164.result().setName("SketchLine_60")
SketchLine_163.setName("SketchLine_59")
SketchLine_163.result().setName("SketchLine_59")
SketchLine_162.setName("SketchLine_58")
SketchLine_162.result().setName("SketchLine_58")
model.do()
ExtrusionFuse_2 = model.addExtrusionFuse(Part_2_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), model.selection("FACE", "Sketch_1/Face-SketchLine_1r-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_14r-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchArc_2_2r-SketchLine_12r-SketchLine_11r-SketchLine_10r"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_5_1")])
Sketch_17 = model.addSketch(Part_2_doc, model.selection("FACE", "(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_27)(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_26)(ExtrusionCut_2_1/Modified_Face&Sketch_1/SketchLine_4&ExtrusionCut_2_1/To_Face_2)(ExtrusionCut_2_1/Generated_Face&Sketch_3/SketchLine_28)_ExtrusionFuse_1_1"))
SketchLine_170 = Sketch_17.addLine(50.25, -4.5, 31.25, -4.5)
SketchLine_170.setName("SketchLine_76")
SketchLine_170.result().setName("SketchLine_76")
SketchLine_171 = Sketch_17.addLine(51, -6.75, 51, -5.25)
SketchLine_171.setName("SketchLine_78")
SketchLine_171.result().setName("SketchLine_78")
SketchLine_172 = Sketch_17.addLine(31, -4.75, 31, -7.249999999999651)
SketchLine_172.setName("SketchLine_80")
SketchLine_172.result().setName("SketchLine_80")
SketchLine_173 = Sketch_17.addLine(31.25, -7.499999999999998, 50.25, -7.5)
SketchLine_173.setName("SketchLine_79")
SketchLine_173.result().setName("SketchLine_79")
SketchLine_174 = Sketch_17.addLine(51, -4.5, 31, -4.5)
SketchLine_174.setName("SketchLine_66")
SketchLine_174.result().setName("SketchLine_66")
SketchLine_174.setAuxiliary(True)
SketchLine_175 = Sketch_17.addLine(51, -7.5, 51, -4.5)
SketchLine_175.setAuxiliary(True)
SketchConstraintCoincidence_248 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchLine_174.startPoint())
SketchConstraintCoincidence_248.setName("SketchConstraintCoincidence_78")
SketchLine_176 = Sketch_17.addLine(31, -4.5, 31, -7.5)
SketchLine_176.setName("SketchLine_67")
SketchLine_176.result().setName("SketchLine_67")
SketchLine_176.setAuxiliary(True)
SketchConstraintCoincidence_249 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_176.startPoint())
SketchConstraintCoincidence_249.setName("SketchConstraintCoincidence_79")
SketchLine_177 = Sketch_17.addLine(31, -7.5, 51, -7.5)
SketchLine_177.setName("SketchLine_68")
SketchLine_177.result().setName("SketchLine_68")
SketchLine_177.setAuxiliary(True)
SketchConstraintCoincidence_250 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_177.startPoint())
SketchConstraintCoincidence_250.setName("SketchConstraintCoincidence_80")
SketchConstraintCoincidence_251 = Sketch_17.setCoincident(SketchLine_177.endPoint(), SketchLine_175.startPoint())
SketchConstraintCoincidence_251.setName("SketchConstraintCoincidence_81")
SketchConstraintHorizontal_34 = Sketch_17.setHorizontal(SketchLine_174.result())
SketchConstraintHorizontal_34.setName("SketchConstraintHorizontal_13")
SketchConstraintVertical_31 = Sketch_17.setVertical(SketchLine_176.result())
SketchConstraintHorizontal_35 = Sketch_17.setHorizontal(SketchLine_177.result())
SketchConstraintHorizontal_35.setName("SketchConstraintHorizontal_14")
SketchConstraintVertical_32 = Sketch_17.setVertical(SketchLine_175.result())
SketchLine_178 = Sketch_17.addLine(31, -7.5, 51, -4.5)
SketchLine_178.setName("SketchLine_70")
SketchLine_178.result().setName("SketchLine_70")
SketchLine_178.setAuxiliary(True)
SketchConstraintCoincidence_252 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_178.startPoint())
SketchConstraintCoincidence_252.setName("SketchConstraintCoincidence_82")
SketchConstraintCoincidence_253 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_178.startPoint())
SketchConstraintCoincidence_253.setName("SketchConstraintCoincidence_83")
SketchPoint_32 = Sketch_17.addPoint(51, -4.5)
SketchConstraintCoincidence_254 = Sketch_17.setCoincident(SketchLine_174.startPoint(), SketchPoint_32.coordinates())
SketchConstraintCoincidence_254.setName("SketchConstraintCoincidence_84")
SketchConstraintCoincidence_255 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchPoint_32.coordinates())
SketchConstraintCoincidence_255.setName("SketchConstraintCoincidence_85")
SketchPoint_33 = Sketch_17.addPoint(41, -6)
SketchPoint_33.setAuxiliary(True)
SketchConstraintCoincidence_256 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_178.result())
SketchConstraintCoincidence_256.setName("SketchConstraintCoincidence_86")
SketchConstraintMiddle_11 = Sketch_17.setMiddlePoint(SketchLine_178.result(), SketchPoint_33.coordinates())
SketchPoint_34 = Sketch_17.addPoint(21, -6)
SketchPoint_34.setAuxiliary(True)
SketchLine_179 = Sketch_17.addLine(21, -10.5, 21, -1.5)
SketchLine_179.setName("SketchLine_71")
SketchLine_179.result().setName("SketchLine_71")
SketchConstraintRigid_18 = Sketch_17.setFixed(SketchLine_179.result())
SketchConstraintRigid_18.setName("SketchConstraintRigid_14")
SketchConstraintCoincidence_257 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_179.result())
SketchConstraintCoincidence_257.setName("SketchConstraintCoincidence_87")
SketchConstraintMiddle_12 = Sketch_17.setMiddlePoint(SketchPoint_34.coordinates(), SketchLine_179.result())
SketchLine_180 = Sketch_17.addLine(21, -6, 41, -6)
SketchLine_180.setName("SketchLine_72")
SketchLine_180.result().setName("SketchLine_72")
SketchLine_180.setAuxiliary(True)
SketchConstraintCoincidence_258 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_180.startPoint())
SketchConstraintCoincidence_258.setName("SketchConstraintCoincidence_88")
SketchConstraintCoincidence_259 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_180.endPoint())
SketchConstraintCoincidence_259.setName("SketchConstraintCoincidence_89")
SketchConstraintHorizontal_36 = Sketch_17.setHorizontal(SketchLine_180.result())
SketchConstraintHorizontal_36.setName("SketchConstraintHorizontal_15")
SketchConstraintCoincidence_260 = Sketch_17.setCoincident(SketchLine_178.endPoint(), SketchLine_174.startPoint())
SketchConstraintCoincidence_260.setName("SketchConstraintCoincidence_90")
SketchConstraintLength_29 = Sketch_17.setLength(SketchLine_175.result(), 3)
SketchConstraintLength_29.setName("SketchConstraintLength_13")
SketchConstraintLength_30 = Sketch_17.setLength(SketchLine_174.result(), 20)
SketchConstraintLength_30.setName("SketchConstraintLength_14")
SketchPoint_35 = Sketch_17.addPoint(29, -10.5)
SketchConstraintDistance_30 = Sketch_17.setDistance(SketchPoint_35.coordinates(), SketchLine_176.result(), 2, False)
SketchConstraintRigid_19 = Sketch_17.setFixed(SketchPoint_35.result())
SketchConstraintRigid_19.setName("SketchConstraintRigid_15")
SketchArc_37 = Sketch_17.addArc(50.25, -5.25, 51, -5.25, 50.25, -4.5, False)
SketchLine_181 = Sketch_17.addLine(51, -7.5, 51, -5.25)
SketchLine_181.setName("SketchLine_74")
SketchLine_181.result().setName("SketchLine_74")
SketchLine_181.setAuxiliary(True)
SketchConstraintCoincidence_261 = Sketch_17.setCoincident(SketchArc_37.startPoint(), SketchLine_181.endPoint())
SketchConstraintCoincidence_261.setName("SketchConstraintCoincidence_91")
SketchLine_182 = Sketch_17.addLine(50.25, -4.5, 31, -4.5)
SketchLine_182.setName("SketchLine_73")
SketchLine_182.result().setName("SketchLine_73")
SketchLine_182.setAuxiliary(True)
SketchConstraintCoincidence_262 = Sketch_17.setCoincident(SketchArc_37.endPoint(), SketchLine_182.startPoint())
SketchConstraintCoincidence_262.setName("SketchConstraintCoincidence_92")
SketchConstraintTangent_17 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_182.result())
SketchConstraintTangent_18 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_181.result())
SketchConstraintCoincidence_263 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_182.endPoint())
SketchConstraintCoincidence_263.setName("SketchConstraintCoincidence_93")
SketchConstraintCoincidence_264 = Sketch_17.setCoincident(SketchLine_175.startPoint(), SketchLine_181.startPoint())
SketchConstraintCoincidence_264.setName("SketchConstraintCoincidence_94")
SketchConstraintCoincidence_265 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_174.result())
SketchConstraintCoincidence_265.setName("SketchConstraintCoincidence_95")
SketchConstraintCoincidence_266 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_175.result())
SketchConstraintCoincidence_266.setName("SketchConstraintCoincidence_96")
SketchArc_38 = Sketch_17.addArc(31.25, -4.75, 31.25, -4.5, 31, -4.75, False)
SketchConstraintCoincidence_267 = Sketch_17.setCoincident(SketchArc_38.startPoint(), SketchLine_170.endPoint())
SketchConstraintCoincidence_267.setName("SketchConstraintCoincidence_97")
SketchLine_183 = Sketch_17.addLine(31, -4.75, 31, -7.5)
SketchLine_183.setName("SketchLine_75")
SketchLine_183.result().setName("SketchLine_75")
SketchLine_183.setAuxiliary(True)
SketchConstraintCoincidence_268 = Sketch_17.setCoincident(SketchArc_38.endPoint(), SketchLine_183.startPoint())
SketchConstraintCoincidence_268.setName("SketchConstraintCoincidence_98")
SketchConstraintTangent_19 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_183.result())
SketchConstraintTangent_20 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_170.result())
SketchConstraintCoincidence_269 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_183.endPoint())
SketchConstraintCoincidence_269.setName("SketchConstraintCoincidence_99")
SketchConstraintCoincidence_270 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_170.startPoint())
SketchConstraintCoincidence_270.setName("SketchConstraintCoincidence_100")
SketchConstraintCoincidence_271 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_176.result())
SketchConstraintCoincidence_271.setName("SketchConstraintCoincidence_101")
SketchConstraintCoincidence_272 = Sketch_17.setCoincident(SketchLine_170.endPoint(), SketchLine_182.result())
SketchConstraintCoincidence_272.setName("SketchConstraintCoincidence_102")
SketchArc_39 = Sketch_17.addArc(50.25, -6.75, 50.25, -7.5, 51, -6.75, False)
SketchLine_184 = Sketch_17.addLine(31, -7.5, 50.25, -7.5)
SketchLine_184.setName("SketchLine_77")
SketchLine_184.result().setName("SketchLine_77")
SketchLine_184.setAuxiliary(True)
SketchConstraintCoincidence_273 = Sketch_17.setCoincident(SketchArc_39.startPoint(), SketchLine_184.endPoint())
SketchConstraintCoincidence_273.setName("SketchConstraintCoincidence_103")
SketchConstraintCoincidence_274 = Sketch_17.setCoincident(SketchArc_39.endPoint(), SketchLine_171.startPoint())
SketchConstraintCoincidence_274.setName("SketchConstraintCoincidence_104")
SketchConstraintTangent_21 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_184.result())
SketchConstraintTangent_22 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_171.result())
SketchConstraintCoincidence_275 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_184.startPoint())
SketchConstraintCoincidence_275.setName("SketchConstraintCoincidence_105")
SketchConstraintCoincidence_276 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_171.endPoint())
SketchConstraintCoincidence_276.setName("SketchConstraintCoincidence_106")
SketchConstraintCoincidence_277 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_177.result())
SketchConstraintCoincidence_277.setName("SketchConstraintCoincidence_107")
SketchConstraintCoincidence_278 = Sketch_17.setCoincident(SketchLine_171.startPoint(), SketchLine_181.result())
SketchConstraintCoincidence_278.setName("SketchConstraintCoincidence_108")
SketchArc_40 = Sketch_17.addArc(31.25, -7.249999999999998, 31, -7.249999999999651, 31.25, -7.499999999999998, False)
SketchConstraintCoincidence_279 = Sketch_17.setCoincident(SketchArc_40.startPoint(), SketchLine_172.endPoint())
SketchConstraintCoincidence_279.setName("SketchConstraintCoincidence_109")
SketchConstraintCoincidence_280 = Sketch_17.setCoincident(SketchArc_40.endPoint(), SketchLine_173.startPoint())
SketchConstraintCoincidence_280.setName("SketchConstraintCoincidence_110")
SketchConstraintCoincidence_281 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_173.endPoint())
SketchConstraintCoincidence_281.setName("SketchConstraintCoincidence_111")
SketchConstraintCoincidence_282 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_172.startPoint())
SketchConstraintCoincidence_282.setName("SketchConstraintCoincidence_112")
SketchConstraintCoincidence_283 = Sketch_17.setCoincident(SketchLine_173.startPoint(), SketchLine_184.result())
SketchConstraintCoincidence_283.setName("SketchConstraintCoincidence_113")
SketchConstraintCoincidence_284 = Sketch_17.setCoincident(SketchLine_172.endPoint(), SketchLine_183.result())
SketchConstraintCoincidence_284.setName("SketchConstraintCoincidence_114")
SketchConstraintRadius_13 = Sketch_17.setRadius(SketchArc_37.results()[1], 0.75)
SketchConstraintRadius_14 = Sketch_17.setRadius(SketchArc_39.results()[1], 0.75)
SketchConstraintRadius_15 = Sketch_17.setRadius(SketchArc_38.results()[1], 0.25)
SketchConstraintTangent_23 = Sketch_17.setTangent(SketchArc_40.results()[1], SketchLine_173.result())
SketchConstraintTangent_23.setName("SketchConstraintTangent_16")
SketchConstraintTangent_24 = Sketch_17.setTangent(SketchLine_172.result(), SketchArc_40.results()[1])
SketchConstraintTangent_24.setName("SketchConstraintTangent_17")
SketchConstraintRadius_16 = Sketch_17.setRadius(SketchArc_40.results()[1], 0.25)
SketchConstraintRadius_16.setName("SketchConstraintRadius_10")
model.do()
ExtrusionCut_15 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection(), 0, 20, [model.selection("SOLID", "ExtrusionFuse_1_1")])
Sketch_18 = model.addSketch(Part_2_doc, model.selection("FACE", "(ExtrusionFuse_1_1/Modified_Face&Extrusion_1_1/From_Face)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_76)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchArc_15_2)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_80)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchArc_17_2)(ExtrusionCut_6_1/Generated_Face&Sketch_7/SketchLine_79)(ExtrusionFuse_1_1/Modified_Face&Extrusion_1_1/To_Face)(Extrusion_1_1/Generated_Face&Sketch_1/SketchLine_10)"))
SketchPoint_36 = Sketch_18.addPoint(54, 0)
SketchPoint_37 = Sketch_18.addPoint(54, 0)
SketchConstraintRigid_20 = Sketch_18.setFixed(SketchPoint_37.result())
SketchConstraintRigid_20.setName("SketchConstraintRigid_16")
SketchConstraintCoincidence_285 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchPoint_37.result())
SketchConstraintCoincidence_285.setName("SketchConstraintCoincidence_115")
SketchPoint_38 = Sketch_18.addPoint(54, 12)
SketchLine_185 = Sketch_18.addLine(54, 12, 54, 0)
SketchLine_185.setName("SketchLine_81")
SketchLine_185.result().setName("SketchLine_81")
SketchLine_185.setAuxiliary(True)
SketchConstraintCoincidence_286 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchLine_185.startPoint())
SketchConstraintCoincidence_286.setName("SketchConstraintCoincidence_116")
SketchConstraintCoincidence_287 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchLine_185.endPoint())
SketchConstraintCoincidence_287.setName("SketchConstraintCoincidence_117")
SketchConstraintCoincidence_288 = Sketch_18.setCoincident(SketchPoint_37.coordinates(), SketchLine_185.endPoint())
SketchConstraintCoincidence_288.setName("SketchConstraintCoincidence_118")
SketchPoint_39 = Sketch_18.addPoint(54, 11)
SketchConstraintCoincidence_289 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_185.result())
SketchConstraintCoincidence_289.setName("SketchConstraintCoincidence_119")
SketchPoint_40 = Sketch_18.addPoint(54, 1)
SketchConstraintCoincidence_290 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_185.result())
SketchConstraintCoincidence_290.setName("SketchConstraintCoincidence_120")
SketchConstraintDistance_31 = Sketch_18.setDistance(SketchPoint_36.coordinates(), SketchPoint_40.coordinates(), 1, False)
SketchConstraintDistance_32 = Sketch_18.setDistance(SketchPoint_38.coordinates(), SketchPoint_39.coordinates(), 1, False)
SketchPoint_41 = Sketch_18.addPoint(54, 12)
SketchConstraintCoincidence_291 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchPoint_41.coordinates())
SketchConstraintCoincidence_291.setName("SketchConstraintCoincidence_121")
SketchConstraintRigid_21 = Sketch_18.setFixed(SketchPoint_41.result())
SketchConstraintRigid_21.setName("SketchConstraintRigid_17")
SketchLine_186 = Sketch_18.addLine(54, 11, 43.82041221793113, 11)
SketchLine_186.setName("SketchLine_82")
SketchLine_186.result().setName("SketchLine_82")
SketchConstraintCoincidence_292 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_186.startPoint())
SketchConstraintCoincidence_292.setName("SketchConstraintCoincidence_122")
SketchLine_187 = Sketch_18.addLine(43.82041221793113, 11, 43.82041221793113, 13.36310636658867)
SketchLine_187.setName("SketchLine_83")
SketchLine_187.result().setName("SketchLine_83")
SketchConstraintCoincidence_293 = Sketch_18.setCoincident(SketchLine_186.endPoint(), SketchLine_187.startPoint())
SketchConstraintCoincidence_293.setName("SketchConstraintCoincidence_123")
SketchLine_188 = Sketch_18.addLine(43.82041221793113, 13.36310636658867, 63.09515214070713, 13.47539228785809)
SketchLine_188.setName("SketchLine_84")
SketchLine_188.result().setName("SketchLine_84")
SketchConstraintCoincidence_294 = Sketch_18.setCoincident(SketchLine_187.endPoint(), SketchLine_188.startPoint())
SketchConstraintCoincidence_294.setName("SketchConstraintCoincidence_124")
SketchLine_189 = Sketch_18.addLine(63.09515214070713, 13.47539228785809, 63.12349734647592, -1.774328415749978)
SketchLine_189.setName("SketchLine_85")
SketchLine_189.result().setName("SketchLine_85")
SketchConstraintCoincidence_295 = Sketch_18.setCoincident(SketchLine_188.endPoint(), SketchLine_189.startPoint())
SketchConstraintCoincidence_295.setName("SketchConstraintCoincidence_125")
SketchLine_190 = Sketch_18.addLine(63.12349734647592, -1.774328415749978, 43.82041221793113, -1.802673621518767)
SketchLine_190.setName("SketchLine_86")
SketchLine_190.result().setName("SketchLine_86")
SketchConstraintCoincidence_296 = Sketch_18.setCoincident(SketchLine_189.endPoint(), SketchLine_190.startPoint())
SketchConstraintCoincidence_296.setName("SketchConstraintCoincidence_126")
SketchLine_191 = Sketch_18.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 1)
SketchLine_191.setName("SketchLine_87")
SketchLine_191.result().setName("SketchLine_87")
SketchConstraintCoincidence_297 = Sketch_18.setCoincident(SketchLine_190.endPoint(), SketchLine_191.startPoint())
SketchConstraintCoincidence_297.setName("SketchConstraintCoincidence_127")
SketchLine_192 = Sketch_18.addLine(54, 1, 43.79206701216234, 1)
SketchLine_192.setName("SketchLine_88")
SketchLine_192.result().setName("SketchLine_88")
SketchConstraintCoincidence_298 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_192.startPoint())
SketchConstraintCoincidence_298.setName("SketchConstraintCoincidence_128")
SketchConstraintHorizontal_37 = Sketch_18.setHorizontal(SketchLine_192.result())
SketchConstraintHorizontal_37.setName("SketchConstraintHorizontal_16")
SketchConstraintHorizontal_38 = Sketch_18.setHorizontal(SketchLine_186.result())
SketchConstraintHorizontal_38.setName("SketchConstraintHorizontal_17")
SketchConstraintCoincidence_299 = Sketch_18.setCoincident(SketchLine_191.endPoint(), SketchLine_192.endPoint())
SketchConstraintCoincidence_299.setName("SketchConstraintCoincidence_129")
SketchArc_41 = Sketch_18.addArc(54, 6, 54, 11, 54, 1, True)
SketchConstraintCoincidence_300 = Sketch_18.setCoincident(SketchArc_41.center(), SketchLine_185.result())
SketchConstraintCoincidence_300.setName("SketchConstraintCoincidence_130")
SketchConstraintCoincidence_301 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchArc_41.startPoint())
SketchConstraintCoincidence_301.setName("SketchConstraintCoincidence_130_")
SketchConstraintCoincidence_302 = Sketch_18.setCoincident(SketchLine_186.startPoint(), SketchArc_41.startPoint())
SketchConstraintCoincidence_302.setName("SketchConstraintCoincidence_131")
SketchConstraintCoincidence_303 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchArc_41.endPoint())
SketchConstraintCoincidence_303.setName("SketchConstraintCoincidence_132")
SketchConstraintCoincidence_304 = Sketch_18.setCoincident(SketchLine_192.startPoint(), SketchArc_41.endPoint())
SketchConstraintCoincidence_304.setName("SketchConstraintCoincidence_133")
SketchLine_193 = Sketch_18.addLine(43.50261344273609, 8.25, 43.50261344273609, 3.75)
SketchLine_193.setName("SketchLine_90")
SketchLine_193.result().setName("SketchLine_90")
SketchConstraintVertical_33 = Sketch_18.setVertical(SketchLine_193.result())
SketchConstraintLength_31 = Sketch_18.setLength(SketchLine_193.result(), 4.5)
SketchConstraintLength_31.setName("SketchConstraintLength_15")
SketchPoint_42 = Sketch_18.addPoint(43.50261344273609, 6)
SketchConstraintMiddle_13 = Sketch_18.setMiddlePoint(SketchPoint_42.coordinates(), SketchLine_193.result())
SketchPoint_43 = Sketch_18.addPoint(0, 6)
SketchPoint_43.setAuxiliary(True)
SketchLine_194 = Sketch_18.addLine(0, 0, 0, 12)
SketchLine_194.setName("SketchLine_94")
SketchLine_194.result().setName("SketchLine_94")
SketchConstraintRigid_22 = Sketch_18.setFixed(SketchLine_194.result())
SketchConstraintRigid_22.setName("SketchConstraintRigid_19")
SketchConstraintCoincidence_305 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_194.result())
SketchConstraintCoincidence_305.setName("SketchConstraintCoincidence_139")
SketchConstraintMiddle_14 = Sketch_18.setMiddlePoint(SketchLine_194.result(), SketchPoint_43.coordinates())
SketchLine_195 = Sketch_18.addLine(0, 6, 68.8619738308997, 6)
SketchLine_195.setName("SketchLine_95")
SketchLine_195.result().setName("SketchLine_95")
SketchLine_195.setAuxiliary(True)
SketchConstraintCoincidence_306 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_195.startPoint())
SketchConstraintCoincidence_306.setName("SketchConstraintCoincidence_140")
SketchConstraintHorizontal_39 = Sketch_18.setHorizontal(SketchLine_195.result())
SketchConstraintHorizontal_39.setName("SketchConstraintHorizontal_20")
SketchPoint_44 = Sketch_18.addPoint(48.00130672136804, 6)
SketchConstraintCoincidence_307 = Sketch_18.setCoincident(SketchPoint_44.coordinates(), SketchLine_195.result())
SketchConstraintCoincidence_307.setName("SketchConstraintCoincidence_146")
SketchLine_196 = Sketch_18.addLine(43.50261344273609, 8.25, 51.26978940411676, 8.25)
SketchLine_196.setName("SketchLine_92")
SketchLine_196.result().setName("SketchLine_92")
SketchConstraintCoincidence_308 = Sketch_18.setCoincident(SketchLine_193.startPoint(), SketchLine_196.startPoint())
SketchConstraintCoincidence_308.setName("SketchConstraintCoincidence_135")
SketchLine_197 = Sketch_18.addLine(51.26978940411676, 8.25, 51.26978940411676, 3.75)
SketchLine_197.setName("SketchLine_97")
SketchLine_197.result().setName("SketchLine_97")
SketchConstraintCoincidence_309 = Sketch_18.setCoincident(SketchLine_196.endPoint(), SketchLine_197.startPoint())
SketchConstraintCoincidence_309.setName("SketchConstraintCoincidence_136")
SketchLine_198 = Sketch_18.addLine(51.26978940411676, 3.75, 43.50261344273609, 3.75)
SketchLine_198.setName("SketchLine_98")
SketchLine_198.result().setName("SketchLine_98")
SketchConstraintCoincidence_310 = Sketch_18.setCoincident(SketchLine_197.endPoint(), SketchLine_198.startPoint())
SketchConstraintCoincidence_310.setName("SketchConstraintCoincidence_137")
SketchConstraintCoincidence_311 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_198.endPoint())
SketchConstraintCoincidence_311.setName("SketchConstraintCoincidence_138")
SketchConstraintHorizontal_40 = Sketch_18.setHorizontal(SketchLine_198.result())
SketchConstraintHorizontal_41 = Sketch_18.setHorizontal(SketchLine_196.result())
SketchConstraintVertical_34 = Sketch_18.setVertical(SketchLine_197.result())
SketchLine_199 = Sketch_18.addLine(43.50261344273609, 3.75, 51.26978940411676, 8.25)
SketchLine_199.setAuxiliary(True)
SketchConstraintCoincidence_312 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_199.startPoint())
SketchConstraintCoincidence_312.setName("SketchConstraintCoincidence_141")
SketchConstraintCoincidence_313 = Sketch_18.setCoincident(SketchLine_198.endPoint(), SketchLine_199.startPoint())
SketchConstraintCoincidence_313.setName("SketchConstraintCoincidence_142")
SketchConstraintCoincidence_314 = Sketch_18.setCoincident(SketchLine_197.startPoint(), SketchLine_199.endPoint())
SketchConstraintCoincidence_314.setName("SketchConstraintCoincidence_143")
SketchPoint_45 = Sketch_18.addPoint(47.38620142342643, 6)
SketchPoint_45.setAuxiliary(True)
SketchConstraintCoincidence_315 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_199.result())
SketchConstraintCoincidence_315.setName("SketchConstraintCoincidence_144")
SketchConstraintMiddle_15 = Sketch_18.setMiddlePoint(SketchPoint_45.coordinates(), SketchLine_199.result())
SketchConstraintCoincidence_316 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_195.result())
SketchConstraintCoincidence_316.setName("SketchConstraintCoincidence_145")
model.do()
ExtrusionCut_16 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_8")], model.selection(), 10, 0, [model.selection("SOLID", "ExtrusionCut_6_1")])
Sketch_19 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_7_1/Modified_Face&Extrusion_1_1/To_Face"))
SketchLine_200 = Sketch_19.addLine(21, 4.163450069699051, 21, 0)
SketchLine_200.setName("SketchLine_107")
SketchLine_200.result().setName("SketchLine_107")
SketchLine_201 = Sketch_19.addLine(29, 5, 21, 5)
SketchLine_201.setName("SketchLine_96")
SketchLine_201.result().setName("SketchLine_96")
SketchLine_201.setAuxiliary(True)
SketchArc_42 = Sketch_19.addArc(25, 8, 21.53774043054522, 4.392679848735523, 28.46225956945478, 4.392679848735522, False)
SketchArc_42.setName("SketchArc_22")
SketchArc_42.result().setName("SketchArc_22")
SketchArc_42.results()[1].setName("SketchArc_22_2")
SketchLine_202 = Sketch_19.addLine(21, 0, 29, 0)
SketchLine_202.setName("SketchLine_100")
SketchLine_202.result().setName("SketchLine_100")
SketchLine_203 = Sketch_19.addLine(29, 0, 29, 4.163450069699049)
SketchLine_203.setName("SketchLine_108")
SketchLine_203.result().setName("SketchLine_108")
SketchLine_204 = Sketch_19.addLine(29, 0, 29, 5)
SketchLine_204.setName("SketchLine_101")
SketchLine_204.result().setName("SketchLine_101")
SketchLine_204.setAuxiliary(True)
SketchConstraintCoincidence_317 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchLine_201.startPoint())
SketchConstraintCoincidence_317.setName("SketchConstraintCoincidence_147")
SketchLine_205 = Sketch_19.addLine(21, 5, 21, 0)
SketchLine_205.setAuxiliary(True)
SketchConstraintCoincidence_318 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchLine_205.startPoint())
SketchConstraintCoincidence_318.setName("SketchConstraintCoincidence_148")
SketchConstraintCoincidence_319 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_202.startPoint())
SketchConstraintCoincidence_319.setName("SketchConstraintCoincidence_149")
SketchConstraintCoincidence_320 = Sketch_19.setCoincident(SketchLine_202.endPoint(), SketchLine_204.startPoint())
SketchConstraintCoincidence_320.setName("SketchConstraintCoincidence_150")
SketchConstraintHorizontal_42 = Sketch_19.setHorizontal(SketchLine_201.result())
SketchConstraintHorizontal_42.setName("SketchConstraintHorizontal_21")
SketchConstraintVertical_35 = Sketch_19.setVertical(SketchLine_205.result())
SketchConstraintHorizontal_43 = Sketch_19.setHorizontal(SketchLine_202.result())
SketchConstraintHorizontal_43.setName("SketchConstraintHorizontal_22")
SketchConstraintVertical_36 = Sketch_19.setVertical(SketchLine_204.result())
SketchPoint_46 = Sketch_19.addPoint(21, 7.5)
SketchConstraintCoincidence_321 = Sketch_19.setCoincident(SketchLine_205.result(), SketchPoint_46.coordinates())
SketchConstraintCoincidence_321.setName("SketchConstraintCoincidence_151")
SketchConstraintRigid_23 = Sketch_19.setFixed(SketchPoint_46.result())
SketchConstraintRigid_23.setName("SketchConstraintRigid_18")
SketchPoint_47 = Sketch_19.addPoint(29, 7.5)
SketchConstraintCoincidence_322 = Sketch_19.setCoincident(SketchLine_204.result(), SketchPoint_47.coordinates())
SketchConstraintCoincidence_322.setName("SketchConstraintCoincidence_152")
SketchConstraintRigid_24 = Sketch_19.setFixed(SketchPoint_47.result())
SketchConstraintRigid_24.setName("SketchConstraintRigid_20")
SketchConstraintLength_32 = Sketch_19.setLength(SketchLine_205.result(), 5)
SketchConstraintLength_32.setName("SketchConstraintLength_16")
SketchLine_206 = Sketch_19.addLine(0, 0, 45.5, 0)
SketchLine_206.setName("SketchLine_102")
SketchLine_206.result().setName("SketchLine_102")
SketchConstraintCoincidence_323 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_206.result())
SketchConstraintCoincidence_323.setName("SketchConstraintCoincidence_153")
SketchConstraintRigid_25 = Sketch_19.setFixed(SketchLine_206.result())
SketchConstraintRigid_25.setName("SketchConstraintRigid_21")
SketchArc_43 = Sketch_19.addArc(25, 8, 21, 5, 29, 5, False)
SketchArc_43.setName("SketchArc_19")
SketchArc_43.result().setName("SketchArc_19")
SketchArc_43.results()[1].setName("SketchArc_19_2")
SketchArc_43.setAuxiliary(True)
SketchConstraintCoincidence_324 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchArc_43.startPoint())
SketchConstraintCoincidence_324.setName("SketchConstraintCoincidence_154")
SketchConstraintCoincidence_325 = Sketch_19.setCoincident(SketchLine_205.startPoint(), SketchArc_43.startPoint())
SketchConstraintCoincidence_325.setName("SketchConstraintCoincidence_155")
SketchConstraintCoincidence_326 = Sketch_19.setCoincident(SketchLine_201.startPoint(), SketchArc_43.endPoint())
SketchConstraintCoincidence_326.setName("SketchConstraintCoincidence_156")
SketchConstraintCoincidence_327 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchArc_43.endPoint())
SketchConstraintCoincidence_327.setName("SketchConstraintCoincidence_157")
SketchConstraintRadius_17 = Sketch_19.setRadius(SketchArc_43.results()[1], 5)
SketchLine_207 = Sketch_19.addLine(1, 0, 1, 1.8)
SketchLine_207.setName("SketchLine_103")
SketchLine_207.result().setName("SketchLine_103")
SketchConstraintCoincidence_328 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_206.result())
SketchConstraintCoincidence_328.setName("SketchConstraintCoincidence_158")
SketchLine_208 = Sketch_19.addLine(1, 1.8, 8, 3.389761862250954)
SketchLine_208.setName("SketchLine_104")
SketchLine_208.result().setName("SketchLine_104")
SketchConstraintCoincidence_329 = Sketch_19.setCoincident(SketchLine_207.endPoint(), SketchLine_208.startPoint())
SketchConstraintCoincidence_329.setName("SketchConstraintCoincidence_159")
SketchLine_209 = Sketch_19.addLine(8, 3.389761862250954, 8, 0)
SketchLine_209.setName("SketchLine_105")
SketchLine_209.result().setName("SketchLine_105")
SketchConstraintCoincidence_330 = Sketch_19.setCoincident(SketchLine_208.endPoint(), SketchLine_209.startPoint())
SketchConstraintCoincidence_330.setName("SketchConstraintCoincidence_160")
SketchLine_210 = Sketch_19.addLine(8, 0, 1, 0)
SketchLine_210.setName("SketchLine_106")
SketchLine_210.result().setName("SketchLine_106")
SketchConstraintCoincidence_331 = Sketch_19.setCoincident(SketchLine_209.endPoint(), SketchLine_210.startPoint())
SketchConstraintCoincidence_331.setName("SketchConstraintCoincidence_161")
SketchConstraintCoincidence_332 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_210.endPoint())
SketchConstraintCoincidence_332.setName("SketchConstraintCoincidence_162")
SketchConstraintCoincidence_333 = Sketch_19.setCoincident(SketchLine_210.startPoint(), SketchLine_206.result())
SketchConstraintCoincidence_333.setName("SketchConstraintCoincidence_163")
SketchConstraintVertical_37 = Sketch_19.setVertical(SketchLine_209.result())
SketchConstraintVertical_38 = Sketch_19.setVertical(SketchLine_207.result())
SketchConstraintLength_33 = Sketch_19.setLength(SketchLine_210.result(), 7)
SketchConstraintLength_33.setName("SketchConstraintLength_17")
SketchConstraintDistance_33 = Sketch_19.setDistance(SketchLine_207.result(), SketchLine_206.startPoint(), 1, False)
SketchConstraintLength_34 = Sketch_19.setLength(SketchLine_207.result(), 1.8)
SketchConstraintLength_34.setName("SketchConstraintLength_18")
SketchArc_44 = Sketch_19.addArc(21.31772863153846, 4.163450069699051, 21.53774043054522, 4.392679848735523, 21, 4.163450069699051, False)
SketchArc_45 = Sketch_19.addArc(25, 8, 21.53774043054522, 4.392679848735523, 29, 5, False)
SketchArc_45.setName("SketchArc_20")
SketchArc_45.result().setName("SketchArc_20")
SketchArc_45.results()[1].setName("SketchArc_20_2")
SketchArc_45.setAuxiliary(True)
SketchConstraintCoincidence_334 = Sketch_19.setCoincident(SketchArc_44.startPoint(), SketchArc_45.startPoint())
SketchConstraintCoincidence_334.setName("SketchConstraintCoincidence_164")
SketchConstraintCoincidence_335 = Sketch_19.setCoincident(SketchArc_44.endPoint(), SketchLine_200.startPoint())
SketchConstraintCoincidence_335.setName("SketchConstraintCoincidence_165")
SketchConstraintTangent_25 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchLine_200.result())
SketchConstraintTangent_26 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchArc_45.results()[1])
SketchConstraintCoincidence_336 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_200.endPoint())
SketchConstraintCoincidence_336.setName("SketchConstraintCoincidence_166")
SketchConstraintCoincidence_337 = Sketch_19.setCoincident(SketchArc_43.endPoint(), SketchArc_45.endPoint())
SketchConstraintCoincidence_337.setName("SketchConstraintCoincidence_167")
SketchConstraintTangent_27 = Sketch_19.setTangent(SketchArc_43.results()[1], SketchArc_45.results()[1])
SketchConstraintCoincidence_338 = Sketch_19.setCoincident(SketchLine_200.startPoint(), SketchLine_205.result())
SketchConstraintCoincidence_338.setName("SketchConstraintCoincidence_168")
SketchConstraintCoincidence_339 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_43.results()[1])
SketchConstraintCoincidence_339.setName("SketchConstraintCoincidence_169")
SketchArc_46 = Sketch_19.addArc(28.68227136846154, 4.163450069699049, 29, 4.163450069699049, 28.46225956945478, 4.392679848735522, False)
SketchConstraintCoincidence_340 = Sketch_19.setCoincident(SketchArc_46.startPoint(), SketchLine_203.endPoint())
SketchConstraintCoincidence_340.setName("SketchConstraintCoincidence_170")
SketchConstraintCoincidence_341 = Sketch_19.setCoincident(SketchArc_46.endPoint(), SketchArc_42.endPoint())
SketchConstraintCoincidence_341.setName("SketchConstraintCoincidence_171")
SketchConstraintTangent_28 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchArc_42.results()[1])
SketchConstraintTangent_29 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchLine_203.result())
SketchConstraintCoincidence_342 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_42.startPoint())
SketchConstraintCoincidence_342.setName("SketchConstraintCoincidence_172")
SketchConstraintCoincidence_343 = Sketch_19.setCoincident(SketchLine_204.startPoint(), SketchLine_203.startPoint())
SketchConstraintCoincidence_343.setName("SketchConstraintCoincidence_173")
SketchConstraintTangent_30 = Sketch_19.setTangent(SketchArc_45.results()[1], SketchArc_42.results()[1])
SketchConstraintCoincidence_344 = Sketch_19.setCoincident(SketchArc_42.endPoint(), SketchArc_45.results()[1])
SketchConstraintCoincidence_344.setName("SketchConstraintCoincidence_174")
SketchConstraintCoincidence_345 = Sketch_19.setCoincident(SketchLine_203.endPoint(), SketchLine_204.result())
SketchConstraintCoincidence_345.setName("SketchConstraintCoincidence_175")
model.do()
Plane_12 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 4, False)
Plane_13 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 4, True)
ExtrusionCut_17 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection(), model.selection("FACE", "Plane_5"), 0, model.selection("FACE", "Plane_4"), 0, [model.selection("SOLID", "ExtrusionCut_7_1")])
Sketch_20 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_8_1/Modified_Face&Sketch_1/SketchLine_1"))
SketchCircle_2 = Sketch_20.addCircle(12, 6, 1)
SketchConstraintRadius_18 = Sketch_20.setRadius(SketchCircle_2.results()[1], 1)
SketchPoint_48 = Sketch_20.addPoint(0, 6)
SketchPoint_48.setAuxiliary(True)
SketchLine_211 = Sketch_20.addLine(0, 0, 0, 12)
SketchLine_211.setName("SketchLine_109")
SketchLine_211.result().setName("SketchLine_109")
SketchConstraintRigid_26 = Sketch_20.setFixed(SketchLine_211.result())
SketchConstraintRigid_26.setName("SketchConstraintRigid_22")
SketchConstraintCoincidence_346 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_211.result())
SketchConstraintCoincidence_346.setName("SketchConstraintCoincidence_176")
SketchConstraintMiddle_16 = Sketch_20.setMiddlePoint(SketchLine_211.result(), SketchPoint_48.coordinates())
SketchLine_212 = Sketch_20.addLine(0, 6, 17.31036191565843, 6)
SketchLine_212.setName("SketchLine_110")
SketchLine_212.result().setName("SketchLine_110")
SketchLine_212.setAuxiliary(True)
SketchConstraintCoincidence_347 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_212.startPoint())
SketchConstraintCoincidence_347.setName("SketchConstraintCoincidence_177")
SketchConstraintHorizontal_44 = Sketch_20.setHorizontal(SketchLine_212.result())
SketchConstraintHorizontal_44.setName("SketchConstraintHorizontal_23")
SketchConstraintCoincidence_348 = Sketch_20.setCoincident(SketchCircle_2.center(), SketchLine_212.result())
SketchConstraintCoincidence_348.setName("SketchConstraintCoincidence_178")
SketchConstraintDistance_34 = Sketch_20.setDistance(SketchLine_211.result(), SketchCircle_2.center(), 12, False)
model.do()
ExtrusionCut_18 = model.addExtrusionCut(Part_2_doc, [model.selection("WIRE", "Sketch_10/Face-SketchCircle_1_2r_wire")], model.selection(), 0, 0.75, [model.selection("SOLID", "ExtrusionCut_8_1")])
model.do()
Rotation_1 = model.addRotation(partSet, [model.selection("COMPOUND", "Part_2/")], model.selection("EDGE", "Part_1/[ExtrusionCut_9_1/Modified_Face&Sketch_1/SketchLine_1][ExtrusionCut_7_1/Modified_Face&Extrusion_1_1/From_Face]"), 180)
Placement_1 = model.addPlacement(partSet, [model.selection("COMPOUND", "Rotation_1/")], model.selection("FACE", "Rotation_1/ExtrusionCut_5_1/Modified_Face&Sketch_1/SketchLine_9"), model.selection("FACE", "Part_1/ExtrusionCut_5_1/Modified_Face&Sketch_1/SketchLine_9"), False, True)
Rotation_2 = model.addRotation(partSet, [model.selection("COMPOUND", "Placement_1/")], model.selection("EDGE", "Part_1/[ExtrusionCut_5_1/Modified_Face&Sketch_1/SketchLine_9][ExtrusionCut_8_1/Modified_Face&Sketch_3/SketchLine_35]"), 7)
Rotation_2.result().setColor(255, 85, 0)
model.end()

from GeomAPI import GeomAPI_Shape

model.testNbResults(Part_1, 1)
model.testNbSubResults(Part_1, [0])
model.testNbSubShapes(Part_1, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Part_1, GeomAPI_Shape.FACE, [171])
model.testNbSubShapes(Part_1, GeomAPI_Shape.EDGE, [796])
model.testNbSubShapes(Part_1, GeomAPI_Shape.VERTEX, [1592])
model.testResultsVolumes(Part_1, [1875.575358102468499055248685181])

model.testNbResults(Rotation_2, 1)
model.testNbSubResults(Rotation_2, [0])
model.testNbSubShapes(Rotation_2, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [171])
model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [796])
model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [1592])
model.testResultsVolumes(Rotation_2, [1875.575358102468499055248685181])

assert(model.checkPythonDump())
